Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2310-standardlibrary-chart-object-classes-obj-controls-cchartobjectedit-cchartobjectedittextalign.md
T

36 lines
697 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# TextAlign (Get method)
Gets the value of "TextAlign" property ([text alignment mode)](/en/docs/constants/objectconstants/enum_object_property#enum_align_mode).
```
ENUM_ALIGN_MODE  TextAlign() const
```
Return Value
Value of "TextAlign" property of the object assigned to the class instance.
#
# TextAlign (Set method)
Sets the value of "TextAlign" property ([text aligment mode)](/en/docs/constants/objectconstants/enum_object_property#enum_align_mode).
```
bool  TextAlign(
   ENUM_ALIGN_MODE  align      // property value
   )
```
Parameters
align
[in]  New value of "TextAlign" property.
Return Value
true - success, false - cannot change the property.