Click or drag to resize

PdfiumFPDFColorSpace_GetMaxIndex Method

Get the maximum color index in the indexed color space.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static int FPDFColorSpace_GetMaxIndex(
	IntPtr colorSpace
)

Parameters

colorSpace  IntPtr
Handle to the color space object. Returned by FPDFColorSpace_GetStockCS(ColorTypes), FPDFColorSpace_ColorspaceFromName(String), FPDFColorSpace_GetBaseCS(IntPtr) or FPDFColorSpace_Load(IntPtr, IntPtr, IntPtr) function.

Return Value

Int32
The maximum color index in the indexed color space.
Remarks
Applies to Indexed color space only.
See Also