"pointSize";
The attribute "pointSize"; sets the font size of a textEdit text.
Synopsis
shape.pointSize(int pSize);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
pSize | The font size (pt) of a textEdit text. |
Description
The attribute "fontSize"; sets the font size of a textEdit text.
Example
The following example sets the font size to 15 pt.
main(bool enter)
{
int pSize = 15;
this.pointSize(pSize);
}
Assignment
TextEdit