Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2291-standardlibrary-chart-object-classes-obj-controls-cchartobjecttext-cchartobjecttextfontsize.md
T

34 lines
522 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# FontSize  (Get Method)
Gets the value of "Font size" property.
```
int  FontSize() const
```
Return Value
Value of "FontSize" property of the object assigned to the class instance. If there is no object assigned, it returns 0.
# FontSize (Set Method)
Sets new value for "Font size" property.
```
bool  FontSize(
   int  size      // property value
   )
```
Parameters
size
[in]  New value for "Font size" property.
Return Value
true - successful, false - cannot change the property.