Click or drag to resize

PdfiumFPDFPageObj_SetFillColor(IntPtr, IntPtr, IntPtr, Single) Method

Set the fill color, color space, and pattern of a page object.

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

Parameters

page_obj  IntPtr
Handle to page object, could be text_object, path_object and uncolored images.
colorSpace  IntPtr
The handle to the color space object.
pattern  IntPtr
The handle of the pattern to set as the fill color. IntPtr.Zero if you do not need a pattern.
color  Single
The color in the color space format.
See Also