TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetOutputFormat

Set the format of the output data.

bool TerSetOutputFormat(format)
bool format;The output format can be set to one of the following:
SAVE_TEXT:Save in the text format
SAVE_TEXT_LINES:Save in the text format with line breaks.
SAVE_RTF:Save in the Rich Text Format
SAVE_DOCXDOCX format
SAVE_HTML:Save in the HTML format. This option is available only when HTML Add-on is installed. The HTML Add-on license key must also be set for this flag to be fully effective.
SAVE_UTEXT:Save in the Unicode text format. (not available in the 16 bit product)

Description: This function is used to change the data format of the document when saved. The original output format is specified by the calling application when the editor window is created.

Return Value: This function returns true if successful.