AnnSetAutoDefaults method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnSetAutoDefaults(long hObject, short iFlags);

Overview

Refer to Implementing Annotations.

Remarks

Assigns all the automation default properties to the specified annotation object.

This method simulates the action that takes place when an annotation object is created using the automated mode. An annotation object created in automated mode receives the same default properties as the automation object, such as foreground color, line width, etc. This lets you assign the same default properties in the automation object to the specified annotation object.

See Also

Elements

AnnAutoSnapCursor property, AnnCreate method, AnnDefine, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetSelected method, AnnSetVisible method, AnnAutoHilightPen property

Topics

Annotations (Document/Medical only): Object Manipulation