36 lines
697 B
Markdown
36 lines
697 B
Markdown
# 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.
|