AnnSetAutoDefaults method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetAutoDefaults (OLE_HANDLE hObject, short iFlags);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) 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:  AnnCreate method, AnnDefine, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetSelected method, AnnSetVisible method

Topics:  Annotations (Document/Medical only): Object Manipulation