LAnnAutomation::SetAutoMenuEnabled

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::SetAutoMenuEnabled(bEnable=TRUE)

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

Parameters

L_BOOL bEnable

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

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnAutomation::IsAutoMenuEnabled.

Help Version 21.0.2021.4.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help