ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_text_from_file_bounds_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_bounds_get

This function queries the annotation bounding rectangle.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_from_file_bounds_get(
        HIG_ARTX_TEXT_FROM_FILE hMark,
        LPAT_RECTANGLE lpRect
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT_FROM_FILE Annotation handle.
lpRect LPAT_RECTANGLE Pointer to storage that is overwritten with a copy of the current bounding rectangle.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.