LAnnAutomation::SetAutoMenuEnabled

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::SetAutoMenuEnabled(bEnable=TRUE)

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 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.