Click or drag to resize

PdfiumFPDFColorSpace_CountComponents Method

Get the number of color components depending on the color space.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static int FPDFColorSpace_CountComponents(
	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 number of color components.
See Also