bdeSetAnnotationTextPosition

Sets the position of the text in an annotation.

Syntax

bdeSetAnnotationTextPosition(annotation, xPos, yPos)

Inputs

annotation
The annotation in which the text position is to be set.
Type: BDE annotation
xPos
The x position of the text that is to be set for the annotation.
Type: double
yPos
The y position of the text that is to be set for the annotation.
Type: double

Examples

Set the text position for an annotation:

          annotation = bdeCreateAnnotationText('annotation1', 'This is a new annotation');
          bdeSetAnnotationTextPosition(annotation, 2, 2);