Download MetaTrader 5

TextWidth

Receives the text width.

int  TextWidth(
   const string  text      // text
   );

Parameters

text

[in]  Text for measuring.

Return Value

text height in pixels

Note

The current font is used to measure the text.


Updated: 2015.12.03