ImageGear for C and C++ on Windows v20.3 - Updated
IG_ARTX_protractor_bounds_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_PROTRACTOR > IG_ARTX_protractor_bounds_get

This function queries the bounding rectangle of annotation.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_protractor_bounds_get(
        HIG_ARTX_PROTRACTOR hMark,
        LPAT_RECTANGLE lpRect
);

Arguments:

Name Type Description
hMark HIG_ARTX_PROTRACTOR Annotation handle.
lpRect LPAT_RECTANGLE Pointer to storage for bounding rectangle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This is a read-only function that is calculated as the smallest rectangle that covers all points of annotation.

Is this page helpful?
Yes No
Thanks for your feedback.