ImageGear Professional DLL v18.1 for Windows
ART_mark_is_selected
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_is_selected

Glossary Item Box

This function returns the current selection state of a mark.

Declaration:

  Copy Code
AT_ERRCOUNT ART_mark_is_selected(
        HIGEAR hIGear, 
        ART_MARK_INDEX hMarkIndex, 
        LPBOOL lpSelected
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
hMarkIndex ART_MARK_INDEX Mark identifier.
lpSelected LPBOOL A far pointer that returns the current setting of the selection field in the mark's attribute structure. The value of this field is Boolean.

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:

See example under ART_mark_first()

Remarks:

If the mark is selected, lpSelected returns a value of TRUE. If the mark is not selected, lpSelected returns a value of FALSE.

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

©2014. Accusoft Corporation. All Rights Reserved.