"textFormat"
Sets the text format of a textEdit.
Synopsis
shape.textFormat(string tFormat);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
tFormat |
Following text formats are available:
|
Description
Sets the text format of a textEdit.
Example
The following example sets the format of a textEdit to RichText.
main(bool enter)
{
this.textFormat = "RichText";
this.Text = "<b>in Bold</b> not bold";
}
Assignment
TextEdit