 | PdfiumFPDFShadingPattern_SetBoundingBox Method |
Set bounding box of the shading.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingPattern_SetBoundingBox(
IntPtr shadding_pattern,
float left,
float top,
float right,
float bottom
)
Public Shared Function FPDFShadingPattern_SetBoundingBox (
shadding_pattern As IntPtr,
left As Single,
top As Single,
right As Single,
bottom As Single
) As Boolean
public:
static bool FPDFShadingPattern_SetBoundingBox(
IntPtr shadding_pattern,
float left,
float top,
float right,
float bottom
)
static member FPDFShadingPattern_SetBoundingBox :
shadding_pattern : IntPtr *
left : float32 *
top : float32 *
right : float32 *
bottom : float32 -> bool
public static boolean FPDFShadingPattern_SetBoundingBox(
IntPtr shadding_pattern,
float left,
float top,
float right,
float bottom
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_SetBoundingBox = function(shadding_pattern, left, top, right, 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
BooleanTrue 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