ImageGear for C and C++ on Windows v19.7 - Updated
IG_ARTX_filled_rectangle_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_FILLED_RECTANGLE > IG_ARTX_filled_rectangle_create

This function creates an instance of filled rectangle mark (IG_ARTX_MARK_FILLED_RECTANGLE).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_filled_rectangle_create(
        LPAT_RECTANGLE pRectangle,
        LPAT_RGBQUAD pFillColor,
        AT_BOOL bHighlight,
        LPHIG_ARTX_FILLED_RECTANGLE lphMark
);

Arguments:

Name Type Description
pRectangle LPAT_RECTANGLE Annotation bounding rectangle.
pFillColor LPAT_RGBQUAD Annotation fill color.
bHighlight AT_BOOL Indicates whether the annotation is highlighted.
lphMark LPHIG_ARTX_FILLED_RECTANGLE Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: