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::SetAutoMenuEnabled

Show in webframe

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::SetAutoMenuEnabled(bEnable=TRUE)

L_BOOL bEnable;

/* flag that indicates whether to enable automated annotation menus */

Enables or disables the automated menus for annotation, which appear when the user clicks the right mouse button.

Parameter

Description

bEnable

Flag that indicates whether to enable or disable the automated annotation menus.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

You can disable the context-sensitive automated menus if you want to change the annotation behavior in automation mode. However, this is not necessary if you only want to change the menu text. For changing the text, refer to LAnnAutomation::SetAutoText.

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::IsAutoMenuEnabled, LAnnAutomation::SetAutoDrawEnabled, Class Members, LAnnAutomation::SetAutoHilightPen, LAnnotation::SetAutoSnapCursor, LAnnotation::GetAutoSnapCursor, LAnnAutomation::GetAutoHilightPen

Topics:

Annotation Functions: Implementing Automation

 

Annotation Functions: Working with the Toolbar

 

Implementing Annotations

 

Automated User Interface for Annotations

Example

For an example, refer to LAnnAutomation::IsAutoMenuEnabled.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.