the size of text object label - page 2

 
Emrah Albayrak #: I'm very curious why negating and multiplication are required?

Read the documentation for TextSetFont please:

size

[in]  The font size that can be set using positive and negative values. In case of positive values, the size of a displayed text does not depend on the operating system's font size settings. In case of negative values, the value is set in tenths of a point and the text size depends on the operating system settings ("standard scale" or "large scale").See the Note below for more information about the differences between the modes.

Documentation on MQL5: Object Functions / TextSetFont
Documentation on MQL5: Object Functions / TextSetFont
  • www.mql5.com
TextSetFont - Object Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Fernando Carreiro #:

Read the documentation for TextSetFont please:

Thank you very much.