AnnRotateAngle property (Annotation Control)
Builder Syntax |
double AnnRotateAngle[HANNOBJECT hObject] |
Delphi Syntax |
AnnRotateAngle [hObject: HANNOBJECT]: L_DOUBLE |
Overview |
Refer to Implementing Annotations. |
Remarks
(Read Only) Gets the rotation angle for an annotation object.
The angle is in radians, and uses the following convention.
The possible range of rotate values is (-Pi) ... (Pi)
A rotation in the clockwise direction is considered a positive rotation.
A rotation in the counter-clockwise direction is considered a negative rotation.
For example, if a rectangle is rotated 90 degrees in the counter clockwise direction, this property will get (-PI/2) for the rotation angle. If a rectangle is rotated 90 degrees in the clockwise direction, this property will get PI/2 for the rotation angle. If a rectangle is rotated 270 degrees in the counter clockwise direction, this is equivalent to 90 degrees in the clockwise direction so the rotation value returned is PI/2.
This property is only valid for the following annotation object types:
ANNOBJECT_POINTER
ANNOBJECT_LINE
ANNOBJECT_RULER
ANNOBJECT_AUDIO
ANNOBJECT_BUTTON
ANNOBJECT_ELLIPSE
ANNOBJECT_HILITE
ANNOBJECT_HOTSPOT
ANNOBJECT_NOTE
ANNOBJECT_RECT
ANNOBJECT_REDACT
ANNOBJECT_STAMP
ANNOBJECT_TEXT
ANNOBJECT_VIDEO
ANNOBJECT_PUSHPIN
ANNOBJECT_ENCRYPT
See Also
Elements: |
|
Topics: |