L_AnnSetUserMode

Summary

Sets the user mode for all objects. Design mode is for creating objects; run mode is for viewing them.

Syntax

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnSetUserMode(hObject, uMode)

Parameters

HANNOBJECT hObject

Handle to the root container.

L_UINT uMode

The constant that specifies the user mode. Possible values are:

Value Meaning
ANNUSER_DESIGN [0] Design mode. Used for creating objects.
ANNUSER_RUN [1] Run mode. Used for viewing or activating objects.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

You set this property on the root container, and all objects in the container inherit the property.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to Implementing an Automated Annotation Program.
For complete sample code, refer to the ANNOTATE example.
example.

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.