TextExport Method
Writes the selected text to a file in ANSI format.
Syntax
TXTextControl.TextExport FileName
Parameters
| Parameter | Description |
|---|---|
| FileName | Is the name of the file, Text Control uses for saving. When the file does not exist, a new file with this name is created. When the file exists, Text Control overwrites its current contents. |
Return Value
The method returns True when the text has been written to the file. Otherwise it returns False.
Data Types
| Name | Data type |
|---|---|
| FileName | String |
| Return value | Boolean |