This function returns the current visibility state of a mark.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ART_mark_is_visible(
HIGEAR hIGear,
ART_MARK_INDEX hMarkIndex,
BOOL lpVisible
);
|
|
Arguments:
| Name | Type | Description |
| hIGear | HIGEAR | HIGEAR handle to the image. |
| hMarkIndex | ART_MARK_INDEX | Mark identifier. |
| lpVisible | BOOL | A far pointer that returns the current setting of the visibility 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:
None
Example:
See example under ART_mark_visible() function.
Remarks:
The value returned in lpVisible is the value of the bVisible field of the mark's attribute structure.
An error is set if any of the following conditions are met:
- hIGear does not reference a valid ImageGear handle. There are no marks with a matching index block.
- lpVisible points to an invalid address.