TextExport Method (Obsolete)

Writes the selected text to a file in ANSI format.

Syntax

   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.

Return Value

The method returns True when the text has been written to the file. Otherwise it returns False.

Data Types

FileName:    String
Return value:    Boolean

See Also