Click or drag to resize

PdfiumFPDFShadingPattern_Create Method

Create a shading pattern.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDFShadingPattern_Create(
	IntPtr document,
	ShadingTypes shadingType,
	IntPtr colorSpace,
	bool isShadingObj,
	FS_MATRIX parentMatrix = null,
	FS_MATRIX formMatrix = null
)

Parameters

document  IntPtr
The handle to the PDF document.
shadingType  ShadingTypes
The type of shading pattern.
colorSpace  IntPtr
Any color space excpet CsPattern.
isShadingObj  Boolean
True to create a pattern for shadding object only.
parentMatrix  FS_MATRIX  (Optional)
The transformation matrix of the parent content stream.
formMatrix  FS_MATRIX  (Optional)
The pattern matrix. If null, the identity matrix is used.

Return Value

IntPtr
Handle to the created shading pattern; IntPtr.Zero if any error has occurred.
See Also