Click or drag to resize

PdfiumFPDFColorSpace_GetDefaultColor Method

Get the initial value of the color, which depends on the color space.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static float[] FPDFColorSpace_GetDefaultColor(
	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

Single
A float array containing a color value that depends on the color space; an empty array if any error occurred.
Remarks
Not applicable for Pattern color space.
See Also