 | PdfiumFPDFColorSpace_GetDefaultColor Method |
Get the initial value of the color, which depends on the color space.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static float[] FPDFColorSpace_GetDefaultColor(
IntPtr colorSpace
)
Public Shared Function FPDFColorSpace_GetDefaultColor (
colorSpace As IntPtr
) As Single()
public:
static array<float>^ FPDFColorSpace_GetDefaultColor(
IntPtr colorSpace
)
static member FPDFColorSpace_GetDefaultColor :
colorSpace : IntPtr -> float32[]
public static float[] FPDFColorSpace_GetDefaultColor(
IntPtr colorSpace
)
Patagames.Pdf.Pdfium.FPDFColorSpace_GetDefaultColor = function(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
SingleA float array containing a color value that depends on the color space; an empty array if any error occurred.
RemarksNot applicable for
Pattern color space.
See Also