TX Text Control ActiveX

TextExport Method

Method

Writes the selected text to a file in ANSI format.

Syntax

TXTextControl.TextExport FileName

Parameters

ParameterDescription
FileNameIs 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

NameData type
FileNameString
Return valueBoolean

See Also