ImageGear Professional DLL v17.1 for Windows Accusoft
ART_mark_is_access_granted
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Mark Management Functions > ART_mark_is_access_granted

Glossary Item Box

This function returns the current access state of a mark.

Declaration:

  Copy Code
AT_ERRCOUNT ART_mark_is_access_granted(
        HIGEAR hIGear, 
        ART_MARK_INDEX hMarkIndex, 
        LPBOOL lpEnabled
);

Arguments:

hIGear HIGEAR handle to the image.
hMarkIndex Mark identifier.
lpEnabled A far pointer that returns the current setting of the mark's edit ability. The value 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_block_create() function.

Remarks:

If the mark is editable, this function sets lpEnabled to TRUE. If the mark is not editable, lpEnabled is set to FALSE.

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

©2012. Accusoft Corporation. All Rights Reserved.