Writes the selected text to a file in ANSI format.
TXTextControl.TextExport FileName
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. |
The method returns True when the text has been written to the file. Otherwise it returns False.
FileName: | String |
Return value: | Boolean |
<< RTFImport Method (Obsolete) | >> TextImport Method (Obsolete)