Visual Basic
C#
Managed Extensions for C++
C++/CLI
Property Value
Can be 1, 3, or 4.This property gets the number of components in the color space. For the following color spaces the number of components is:
- DeviceGray, CalGray, Separation: 1.
- DeviceRGB, CalRGB: 3.
- DeviceCMYK, Lab: 4.
- DeviceN, ICCBased: the number of components dependent on the specific color space object
- Indexed: 1.
Use BaseColorComponents to get the number of components in the base color space.