AnnTextRotate property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long AnnTextRotate (long hObject);

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates whether the text of an annotation object is rotated, and if so, then by how many degrees. Possible values are:

Value

Meaning

TEX_TROTATE_0

[0] Do not rotate the text.

TEX_TROTATE_90

[90] The text is rotated 90 degrees counter clockwise.

TEX_TROTATE_180

[180] The text is rotated 180 degrees counter clockwise.

TEX_TROTATE_270

[270] The text is rotated 270 degrees counter clockwise.

This property is valid only for the following annotation objects:

image\sqrblit.gif ANN_OBJECT_AUTOMATION

image\sqrblit.gif ANN_OBJECT_NOTE

image\sqrblit.gif ANN_OBJECT_TEXTPOINTER

You must set the Flags property before setting this property. Possible values for the Flags property when using this property are:

0

ANN_FLAG_SELECTED

ANN_FLAG_NOTTHIS

ANN_FLAG_RECURSE

ANN_FLAG_NOTCONTAINER

ANN_FLAG_NOINVALIDATE

ANN_FLAG_CHECKMENU

To determine whether an error has occurred, check the AnnError Property.

See Also

Elements:

AnnAutoSnapCursor property, Flags property

Topics:

Annotations (Document/Medical only): Object Manipulation