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

LAnnContainer::SetUserMode

Show in webframe

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SetUserMode(uMode=ANNUSER_DESIGN)

L_UINT uMode;

/* constant that specifies the user mode */

Sets the user mode for all objects in the Container.

Parameter

Description

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

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

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:

Class Members

Topics:

Annotation Functions: Global Properties

 

Implementing Annotations

Example

For an example, refer to LAnnContainer::LAnnContainer.

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