Gets or sets the color components.

Namespace: Spire.Pdf.ColorSpace
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public byte ColorComponents { get; set; }
Public Property ColorComponents As Byte
	Get
	Set
public:
property unsigned char ColorComponents {
	unsigned char get ();
	void set (unsigned char value);
}
member ColorComponents : byte with get, set

Property Value

Byte
The number of color components in the color space described by the ICC profile data.

Remarks

This number must match the number of components actually in the ICC profile. As of PDF 1.4, this value must be 1, 3 or 4.

See Also