AnnConvert method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnConvert (long hContainer, long nConvert);

Overview

Refer to Implementing Annotations.

Remarks

Use this method to convert back and forth between container coordinates and client coordinates

The number of elements in the ClientPointX, ClientPointY, ContainerPointX and ContainerPointY arrays must be AT LEAST equal to the value in the PointsCount property.

When nConvert is ANN_CONVERT_TO_CONTAINER, the ClientPointX and ClientPointY arrays must contain valid entries. If this method Returns successfully, ContainerPointX and ContainerPointY will be updated with the converted points.

When nConvert is ANN_CONVERT_TO_CLIENT, the ContainerPointX and ContainerPointY arrays must contain valid entries. If this method Returns successfully, ClientPointX and ClientPointY will be updated with the converted points.

See Also

Elements:

ClientPointX property, ClientPointY property, ContainerPointX property, ContainerPointY property, PointsCount property, PointIndex property

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Displaying and Manipulating Annotation Objects

 

Annotations (Document/Medical only): Creating Custom Annotations