virtual L_UINT LAnnotation::GetActiveState()
Gets the Activation State of the specified object.
The object's activation state constant. 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. |
The following types of objects respond to activation events:
Win32, x64.
L_INT LAnnotation_GetActiveStateExample(LAnnotation& LeadAnn){L_INT nRet;L_UINT uActiveState ;ANNRECT AnnRect ;uActiveState = LeadAnn.GetActiveState() ;if (uActiveState != ANNACTIVE_ENABLED){nRet = LeadAnn.SetActiveState(ANNACTIVE_ENABLED) ;if(nRet != SUCCESS)return nRet;}nRet = LeadAnn.GetRect(&AnnRect);if(nRet != SUCCESS)return nRet;return SUCCESS;}
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
