#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnSetActiveState(hObject, uState)
Sets the activation state of an annotation object. If an annotation object is active, it will respond to activation events.
Handle to the annotation object.
The constant that indicates whether the object is enabled or disabled. Possible values are:
Value | Meaning |
---|---|
ANNACTIVE_DISABLED | [0] The object will not respond to activation events. |
ANNACTIVE_ENABLED | [1] The object 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:
For descriptions of the various types of objects and their properties, refer to Types of Annotations.
Required DLLs and Libraries
Win32, x64.
For an example, refer to the TestCreateButtonAnn procedure in Using Non automated Annotations in Run Mode.
For an example of how the tag of an activated object is used, refer to the L_AnnGetTag function.
For complete sample code, refer to the ANNOTATE example.
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