ImageGear for C and C++ on Windows v19.6 - Updated
IG_ARTX_ruler_bounds_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_RULER > IG_ARTX_ruler_bounds_get

This function queries the bounding rectangle of annotation.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_ruler_bounds_get(
        HIG_ARTX_RULER hMark,
        LPAT_RECTANGLE lpRect
);

Arguments:

Name Type Description
hMark HIG_ARTX_RULER 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 read-only function that is calculated as the smallest rectangle that covers all points of the annotation.