GetPageElementClipPathBound
Content stream editing, Clipping paths
Description
Returns one axis-aligned bound for a clipping component in default user space
Syntax
Delphi
Function TPDFlib.GetPageElementClipPathBound(ElementID, ClipPathIndex, BoundIndex: Integer): Double;Parameters
| ElementID | Opaque page-element handle |
|---|---|
| ClipPathIndex | 1-based component index |
| BoundIndex | 0 minimum x, 1 minimum y, 2 maximum x, 3 maximum y |
Return value
The requested coordinate, or zero when the handle, component or bound is invalid or the component bounds are unknown
Remarks
Inspect property 3 with GetPageElementClipPathInfo before reading a bound and property 4 before treating the rectangle as the exact component region