ImageGear Professional DLL v17.1 for Windows Accusoft
ART_edit_paste_count
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Edit Clipboard Functions > ART_edit_paste_count

Glossary Item Box

This function queries the clipboard for the number of marks available for pasting.

Declaration:

  Copy Code
AT_ERRCOUNT ART_edit_paste_count(
        HIGEAR hIGear, 
        LPDWORD lpMarkCount
);

Arguments:

hIGear HIGEAR handle to the image.
lpMarkCount A far pointer that returns the number of mark items currently stored in 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 Professional.

Sample:

Annotation

Example:

  Copy Code
HIGEAR hIGear; /* HIGEAR handle of image */
AT_ERRCOUNT nErrcount; /* tally of IG errors on stack */
DWORD dwMarkCount; /* # of marks available  */
/* for paste  */
nErrcount = ART_edit_paste_count(hIGear, &dwMarkCount);

Remarks:

The number of marks available for pasting from the clipboard is returned by lpMarkCount.

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

©2012. Accusoft Corporation. All Rights Reserved.