XFINIUM.PDF Documentation
ColorComponents Property (PdfIccColorSpace)



Xfinium.Pdf.Graphics Namespace > PdfIccColorSpace Class : ColorComponents Property
Gets or sets the number of color components.
Syntax
'Declaration
 
Public Property ColorComponents As Integer
'Usage
 
Dim instance As PdfIccColorSpace
Dim value As Integer
 
instance.ColorComponents = value
 
value = instance.ColorComponents
public int ColorComponents {get; set;}
public:
property int ColorComponents {
   int get();
   void set (    int value);
}

Property Value

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.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfIccColorSpace Class
PdfIccColorSpace Members