ImageGear for C and C++ on Windows v20.0 - Updated
IG_ARTX_rectangle_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_RECTANGLE > IG_ARTX_rectangle_create

This function creates an instance of Rectangle mark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_rectangle_create(
        LPAT_RECTANGLE pRectangle, 
        LPAT_RGBQUAD pFillColor,
        LPAT_ARTX_BORDER pBorder, 
        AT_INT Opacity,
        LPHIG_ARTX_RECTANGLE lphMark
);

Arguments:

Name Type Description
pRectangle LPAT_RECTANGLE Bounding rectangle.
pFillColor LPAT_RGBQUAD Fill color.
pBorder LPAT_ARTX_BORDER Border of the Rectangle.
Opacity AT_INT Opacity of the mark.
lphMark LPHIG_ARTX_RECTANGLE Pointer to the created mark.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion:

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