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

This function adds new mark to ArtX page.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_ARTX_page_mark_add(
        HIG_ARTX_PAGE hArtPage,
        HIG_ARTX_MARK hMark,
        enumIGArtXCoordType nCoordType,
        LPHIG_ARTX_MARK lphMark
);

Arguments:

Name Type Description
hArtPage HIG_ARTX_PAGE ArtX page handle.
hMark HIG_ARTX_MARK Handle of the mark to add.
nCoordType enumIGArtXCoordType Coordinate type of the mark on page.
lphMark LPHIG_ARTX_MARK Pointer of mark object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Mark will be added to default group (with zero index). Mark's coordinate system will be set to nCoordType value.

The following functions clone the mark instead of assuming ownership: