| API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_select |
This function selects or deselects a mark.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ART_mark_select(
HIGEAR hIGear,
ART_MARK_INDEX hMarkIndex,
BOOL fSelect
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | HIGEAR handle to the image. |
| hMarkIndex | ART_MARK_INDEX | Mark identifier. |
| fSelect | BOOL | If set to FALSE, the mark is deselected; if TRUE, the mark is selected. |
Returns the number of ImageGear errors that occurred during the function call.
All pixel formats supported by ImageGear for C and C++.
Annotation
See example under ART_mark_first() function.
When fSelect is set to TRUE, the mark is selected. When fSelect is set to FALSE, the mark is deselected.
![]() |
The mark must be repainted in order to see a change in the selection state. Use ART_GUI_mark_paint() function. |
An error is set if any of the following conditions are met: