Download MetaTrader 5

TextAlign (Get method)

Gets the value of "TextAlign" property (text alignment 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).

bool  TextAlign(
   ENUM_ALIGN_MODE  align      // property value



[in]  New value of "TextAlign" property.

Return Value

true - success, false - cannot change the property.