ImageGear for C and C++ on Windows v19.4 - Updated
ART_group_edit_cut
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Group Functions > ART_group_edit_cut

This function cuts a group of marks from the HIGEAR image and copies them to the clipboard.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_group_edit_cut(
        HIGEAR hIGear, 
        const LPSTR szGroupName
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
szGroupName const LPSTR A far pointer to a null-terminated string that tells ART which group of marks to cut from the HIGEAR image and copy to the clipboard.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

None

Example:

 
Copy Code
HIGEAR hIGear; /* HIGEAR handle of image */
char FAR *szGroupName; /* name of group from  */
/* which to cut marks */
AT_ERRCOUNT nErrcount; /* tally of IG errors */ 
/* on stack  */
szGroupName = "Time Group";
nErrcount = ART_group_edit_cut(hIGear, szGroupName);

Remarks:

An error is set if any of the following conditions are met: