AnnTextAlign property (Annotation Control)
Builder Syntax |
unsigned AnnTextAlign[HANNOBJECT hObject] |
Delphi Syntax |
AnnTextAlign[hObject: HANNOBJECT]: L_UINT |
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:
ANNOBJECT_AUTOMATION
ANNOBJECT_NOTE
ANNOBJECT_TEXT
ANNOBJECT_TEXTPOINTER
You must set the AnnFlags property before setting this property. Possible values for the Flags property for this property are:
0
ANNFLAG_SELECTED
ANNFLAG_NOTTHIS
ANNFLAG_RECURSE
ANNFLAG_NOTCONTAINER
ANNFLAG_NOINVALIDATE
ANNFLAG_CHECKMENU
See Also
Elements: |
|
Topics: |