#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetActiveState(hObject, puState)
Gets the activation state of the specified object.
Handle to the annotation object.
Address of the variable to be updated with the object's activation state constant. Possible activation state values are:
Value | Meaning |
---|---|
ANNACTIVE_DISABLED | [0] The object is disabled. It will not respond to activation events. |
ANNACTIVE_ENABLED | [1] The object is enabled. It will respond to activation events. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The following types of objects respond to activation events:
Before calling this function, you must declare a variable of data type L_UINT. Then, pass the address of the variable in the puState
parameter. This function will update the variable with the annotation object's activation state constant.
Please note that Video objects can have an active state of ANNACTIVE_ENABLED only if the LEADTOOLS video DLL is present. ERROR_FEATURE_NOT_SUPPORTED is returned if the video DLL is missing.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_AnnGetTag.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document