L_AnnGetAutoOptions

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnGetAutoOptions(hObject, puFlags)

HANNOBJECT hObject;

/* handle to the annotation object */

L_UINT * puFlags;

/* address of a variable to be updated */

Retrieves the last value set by L_AnnSetAutoOptions.

This function is available in the Document and Medical Imaging toolkits.

Parameter

Description

hObject

Handle to the annotation automation object.

puFlags

Address of a variable to be updated with the flag values set by L_AnnSetAutoOptions. Possible flag values are:

 

Value

Meaning

 

ANNAUTO_TABBEDDIALOG

Combine the dialog boxes that describe most of the object properties into one tabbed dialog box. Only dialog boxes that are not system dependent can be tabbed. The dialog boxes that are not tabbed are Font, Color, and File. If this flag is not set, the dialogs are displayed as in previous versions of LEADTOOLS.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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

Windows 2000 / XP/Vista.

See Also

Functions:

L_AnnSetAutoOptions, L_AnnSetAutoHilightPen, L_AnnSetAutoSnapCursor, L_AnnGetAutoSnapCursor

Topics:

Annotation Functions: Implementing Automation

 

Implementing Annotations

 

Automated User Interface for Annotations

 

Implementing an Automated Annotation Program

 

Obtaining Annotation Object Information

 

Annotation Functions (Document/Medical only): Automation Properties

Example

For an example, refer to L_AnnSetAutoOptions.