AnnSetNameOptions method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetNameOptions (long hObject);

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 Flags property before calling this method, to indicate the objects for which to set the name options. Possible values for the Flags property are:

0

ANN_FLAG_SELECTED

ANN_FLAG_NOTTHIS

ANN_FLAG_RECURSE

ANN_FLAG_NOTCONTAINER

ANN_FLAG_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.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of Flags property.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements:

AnnNameOptions property, AnnGetNameOptions method, Flags property, EnableShowName property, AnnotationName property, X property, Y property, EnableNameRestrict property, FaceNameColor property, BackNameColor property, EnableNameBackTransparent property, FontName property, EnableFontItalic property, EnableFontStrikeOut property, EnableFontUnderLine property, FontSize property

Topics:

Annotations (Document/Medical only): Object Manipulation