Click or drag to resize

PdfiumFPDFShadingPattern_SetBoundingBox Method

Set bounding box of the shading.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingPattern_SetBoundingBox(
	IntPtr shadding_pattern,
	float left,
	float top,
	float right,
	float bottom
)

Parameters

shadding_pattern  IntPtr
The handle to the shading pattern.
left  Single
X coordinate of the shading's left edge.
top  Single
Y coordinate of the shading's top edge.
right  Single
X coordinate of the shading's right edge.
bottom  Single
Y coordinate of the shading's bottom edge.

Return Value

Boolean
True for successfull; false if any error has occurred.
Remarks
The coordinates are interpreted in the shading’s target coordinate space. If present, this bounding box is applied as a temporary clipping boundary when the shading is painted, in addition to the current clipping path and any other clipping boundaries in effect at that time.
See Also