AnnDefine2 method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnDefine2(HANNOBJECT hObject, double dX, double dY, unsigned uState)

Delphi Syntax

AnnDefine2 (hObject: HANNOBJECT; dX: L_DOUBLE; dY: L_DOUBLE; uState: L_UINT): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Specifies the shape when creating or transforming an annotation object. This method specifies one point in the current window each time it is called. This method is similar to the AnnDefine method, except that AnnDefine2 takes a point in container coordinates, whereas the AnnDefine method takes a point in client coordinates.

See Also

Elements:

AnnDefine method, AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

Topics:

Annotations: Object Manipulation

 

Displaying and Manipulating Annotation Objects

 

Annotations (Document/Medical only): Implementing Automation

 

Annotations (Document/Medical only): Creating and Deleting Annotations