ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_element_get_bbox
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_get_bbox

Glossary Item Box

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.

©2012. Accusoft Corporation. All Rights Reserved.