AnnSetNameOptions method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetNameOptions(HANNOBJECT hObject)

Delphi Syntax

AnnSetNameOptions (hObject: HANNOBJECT ): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Sets the name options for the specified annotation object.

To set the name options for one or more objects you must set the desired options in the AnnNameOptions property before calling this method. In addition, you must set the AnnFlags property before calling this method, to indicate the objects for which to set the name options. Possible values for the Flags property are:

0

ANNFLAG_SELECTED

ANNFLAG_NOTTHIS

ANNFLAG_RECURSE

ANNFLAG_NOTCONTAINER

ANNFLAG_NOINVALIDATE

To get the annotation name options for a specific annotation object, call the AnnGetNameOptions method. The AnnNameOptions property will be updated with the name options.

See Also

Elements:

AnnGetNameOptions method, Flags property (TAnnNameOptions), ShowName property (TAnnNameOptions), AnnotationName property (TAnnNameOptions), NameOffsetX property (TAnnNameOptions), NameOffsetY property (TAnnNameOptions), NameRestrict property (TAnnNameOptions), FaceNameColor property (TAnnNameOptions), BackNameColor property (TAnnNameOptions), NameBackTransparent property (TAnnNameOptions), FontName property (TAnnNameOptions), FontItalic property (TAnnNameOptions), FontStrikeOut property (TAnnNameOptions), FontUnderLine property (TAnnNameOptions), FontSize property (TAnnNameOptions), AnnNameOptions property

Topics:

Annotations: Object Manipulation