AnnTextRotate property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

unsigned AnnTextRotate[HANNOBJECT hObject]

Delphi Syntax

AnnTextRotate[hObject: HANNOBJECT]: L_UINT

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 ANNOBJECT_AUTOMATION

image\sqrblit.gif ANNOBJECT_NOTE

image\sqrblit.gif ANNOBJECT_TEXTPOINTER

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

0

ANNFLAG_SELECTED

ANNFLAG_NOTTHIS

ANNFLAG_RECURSE

ANNFLAG_NOTCONTAINER

ANNFLAG_NOINVALIDATE

ANNFLAG_CHECKMENU

See Also

Elements:

AnnFlags property

Topics:

Annotations: Object Manipulation