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

This function adds new mark to ArtX page.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_ARTX_page_mark_add_to_group_index(
        HIG_ARTX_PAGE hArtPage,
        HIG_ARTX_MARK hMark,
        enumIGArtXCoordType nCoordType,
        AT_INT nIndex,
        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.
nIndex AT_INT Index of the group to which to add the mark.
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 group with the index specified. Mark's coordinate system will be set to nCoordType value.

The following functions clone the mark instead of assuming ownership: