Gets the bounding box for an element.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_element_get_bbox( HIG_PDE_ELEMENT hElement, LPAT_PDF_FIXEDRECT lpBBox ); |
Arguments:
hElement | An element whose bounding box is obtained. |
lpBBox | Pointer to an AT_PDF_FIXEDRECT structure specifying the bounding box of hElement, specified in user space coordinates. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
The returned bounding box is guaranteed to encompass the element, but is not guaranteed to be the smallest box that could contain the element. For example, for an arc, lpBBox encloses the Bezier control points, not just the curve itself.