AnnSetAutoDefaults method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetAutoDefaults (LEADTyp::L_HANDLE hObject, int iFlags);

Delphi Syntax

Function AnnSetAutoDefaults (hObject: L_HANDLE; iFlags: Integer): Integer;

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 method, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetSelected method, AnnSetVisible method

Topics:

Annotations (Document/Medical only): Object Manipulation