Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnAutomation::IsAutoMenuEnabled

Show in webframe

#include "ltwrappr.h"

virtual L_BOOL LAnnAutomation::IsAutoMenuEnabled()

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

Returns

TRUE

Menus are enabled.

FALSE

Menus are disabled.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LAnnAutomation::SetAutoMenuEnabled, LAnnAutomation::SetAutoDrawEnabled, LAnnAutomation::SetAutoText, Class Members, LAnnotation::SetAutoSnapCursor, LAnnotation::GetAutoSnapCursor

Topics:

Annotation Functions: Implementing Automation

 

Annotation Functions: Working with the Toolbar

 

Implementing Annotations

 

Automated User Interface for Annotations

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.