ImageGear Professional for Unix
IG_PDE_element_get_bbox

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:

Name Type Description
hElement HIG_PDE_ELEMENT An element whose bounding box is obtained.
lpBBox LPAT_PDF_FIXEDRECT 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.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback