"wordWrap"
The attribute "wordWrap" specifies the different word wrap modes.
Synopsis
this.wordWrap(string w);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
w |
The wrap mode:
|
Description
The attribute "wordWrap" specifies the different word wrap modes.
Example
The code sets the wrap mode to "FixedColumnWidth" and sets the number of characters to 20 using"wrapColumnOrWidth". This means a word-wrap at the 20th character.
main(bool enter)
{
this.wordWrap = "FixedColumnWidth";
int wrpW = 20;
this.wrapColumnOrWidth(wrpW);
}
Assignment
TextEdit