LAnnAutomation::IsAutoMenuEnabled

Summary

Gets a value that indicates whether the automated menus for annotation are enabled.

Syntax

#include "ltwrappr.h"

virtual L_BOOL LAnnAutomation::IsAutoMenuEnabled()

Returns

Value Meaning
TRUE Menus are enabled.
FALSE Menus are disabled.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example gets and updates the property of the automation
object passed by the caller

L_INT LAnnAutomation_IsAutoMenuEnabledExample(LAnnAutomation  * pAnnObject) 
{ 
   L_INT nRet = SUCCESS; 
 
   L_BOOL bEnable; /* Are menus enabled? */ 
 
   /* Disable the menus, unless they are already disabled  */ 
 
   bEnable= pAnnObject->IsAutoMenuEnabled(); 
 
   if (bEnable == FALSE) 
      MessageBox (NULL, TEXT("Menus are already disabled"), TEXT("Notice"), MB_OK); 
   else 
      nRet = pAnnObject->SetAutoMenuEnabled(FALSE);  
  
   return nRet; 
} 

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.