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

This function adds new mark to ArtX page.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_ARTX_page_mark_add_to_group_name(
        HIG_ARTX_PAGE hArtPage,
        HIG_ARTX_MARK hMark,
        enumIGArtXCoordType nCoordType,
        LPSTR lpszName,
        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.
lpszName LPSTR Name 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 name specified. If there is no such group on page it will be created firstly. Mark's coordinate system will be set to nCoordType value.

The following functions clone the mark instead of assuming ownership: