Description

A read-only property giving the number of channels based on the Interpretation property for the ancestor image.

Property type

A Long value.  

Syntax

object.NumberOfChannels

The NumberOfChannels Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McLineProfiles.

Remarks

A profile is computed for each of the NumberOfChannels channels for the ProfileValues property. Note that NumberOfChannels gives the number of color channels that the Interpretation yields, not necessarily that of the ancestor McImage.Type. For example, an Interpretation of mciMonochrome always results in NumberOfChannels being 1.