ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ArtX Component API Reference / ArtX Component Objects Reference / HIG_ARTX_MARK / IG_ARTX_mark_hittest_bounds_get
In This Topic
    IG_ARTX_mark_hittest_bounds_get
    In This Topic

    This function returns a minimal bounding rectangle containing all the graphic elements of annotation (in device coordinates). The value is affected by text wrapping and alignment, and is reliant on the device displaying the annotation.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT IG_ARTX_mark_hittest_bounds_get( 
            HIG_ARTX_MARK hMark, 
            LPAT_ARTX_DRAW_PARAMS lpDrawParams, 
            LPAT_RECTANGLE lpRect
    );
    

    Arguments:

    Name Type Description
    hMark HIG_ARTX_MARK Annotation handle.
    lpDrawParams LPAT_ARTX_DRAW_PARAMS Drawing parameters required to calculate device coordinates of the mark.
    lpRect LPAT_RECTANGLE Pointer to storage for function result.

    Return Value:

    Error count.

    Supported Raster Image Formats:

    This function does not process image pixels.