LAnnContainer::SetUserMode

Summary

Sets the user mode for all objects in the Container.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SetUserMode(uMode=ANNUSER_DESIGN)

Parameters

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

Design mode is for creating objects; run mode is for viewing them.

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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.