Click or drag to resize

PdfiumFPDFPageObj_GetStrokeColor(IntPtr, IntPtr, IntPtr) Method

Get the stroke color and color space of a page object.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static float[] FPDFPageObj_GetStrokeColor(
	IntPtr page_obj,
	out IntPtr colorSpace,
	out IntPtr pattern
)

Parameters

page_obj  IntPtr
Handle to a page object. Returned by FPDFPageObj_Create(PageObjectTypes) or FPDFPage_GetObject(IntPtr, Int32)
colorSpace  IntPtr
Gets the handle to the color space object.
pattern  IntPtr
Gets the handle to the pattern object.

Return Value

Single
An array containing the color components in color space format; null if any error occurs.
See Also