TX Text Control .NET Server

Javascript: TXTextControl.StreamType Enumeration

Enumeration

Description

Determines a certain text format.

Members

MemberDescription
HTMLFormatSpecifies HTML format (Hypertext Markup Language).
RichTextFormatSpecifies RTF format (Rich Text Format).
PlainTextSpecifies text in Unicode format.
InternalUnicodeFormatSpecifies the internal Text Control format (Unicode).
MSWordSpecifies Microsoft Word format (.DOC version).
AdobePDFSpecifies Adobe Portable Document Format (PDF).
WordprocessingMLSpecifies Microsoft Word format (.DOCX version).
SpreadsheetMLSpecifies Microsoft Excel format (Office Open XML version).

Examples

The following example uses TXTextControl.StreamType.HTMLFormat (specifies HTML format (Hypertext Markup Language).) in a document-editing workflow.

TXTextControl.appendDocument(
    TXTextControl.StreamType.HTMLFormat,
    "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgAH/qbPzWQAAAABJRU5ErkJggg=="
);

Further Reading

  • Reporting: Merging MS Word Documents with DocVariables –
  • Searching Strings in PDF Documents –
  • How to Create a Windows Service with TX Text Control –
  • Reporting: Merge Formatted Text into MergeFields Using HTML –