AnnTextAlign property (ILEADRasterAnnotation)
| long AnnTextAlign (long hObject); | |
| Overview | Refer to Implementing Annotations. | 
Remarks
Gets or sets the text alignment of the specified annotation. Possible values are:
| Value | Meaning | 
| TEXT_ALIGN_LEFT | [1] Align text to left. | 
| TEXT_ALIGN_CENTER | [2] Center the text. | 
| TEXT_ALIGN_RIGHT | [3] Align text to the right. | 
This property is valid only for the following annotation objects:
 ANN_OBJECT_AUTOMATION
 ANN_OBJECT_AUTOMATION
 ANN_OBJECT_NOTE
 ANN_OBJECT_NOTE
 ANN_OBJECT_TEXT
 ANN_OBJECT_TEXT
 ANN_OBJECT_TEXTPOINTER
 ANN_OBJECT_TEXTPOINTER
You must set the Flags property before setting this property. Possible values for the Flags property for 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, AnnTextEdit method, Flags property | 
| Topics: |