LAnnotation::GetActiveState

Summary

Gets the Activation State of the specified object.

Syntax

#include "ltwrappr.h"

virtual L_UINT LAnnotation::GetActiveState()

Returns

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.

Comments

The following types of objects respond to activation events:

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

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 Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.