setData
Set document text:
void setData(buffer)
| String buffer: | The String containing the new text and format data. |
Description: You can use this function to set new data in an existing TEJ window. The exising text in the window is discarded. The data in the buffer can be provided in one of these formats:
Text Format
Rich Text Format
Return Value: None