XFINIUM.PDF Documentation
ColorIndex Property



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

Property Value

The color index in the colorspace samples in the range [0 - PdfIndexedColorSpace.ColorCount].
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

PdfIndexedColor Class
PdfIndexedColor Members