TX Text Control .NET for Windows Forms

Document Processing

Topic

Much of what a Windows Forms application does with documents happens in code rather than in the editor: building a report, converting a file, printing a letter. Three tutorials show these tasks with ServerTextControl, the document engine without a user interface, and with the TextControl on your form, each as a few button handlers.

Choose a Tutorial

TutorialYou learn toMain members
Create a Document ProgrammaticallyBuild a document with formatted text, a table, an image and a header, and show it in the editorServerTextControl, Selection, Tables, Images, HeadersAndFooters
Save as DOCX and PDFExport the editor's document, convert files without the editor, save to byte arrays and create PDF/ASave, StreamType, BinaryStreamType
Print a DocumentPrint with the print dialog, show a preview, print without a dialog and print filesPrint, PrintPreview, FormattingPrinter

Before You Start

The tutorials build on each other in the order above, but each one can be followed on its own.

After These Tutorials

  • Mail Merge: fill templates with data instead of building documents in code.
  • PDF Processing: PDF options, PDF forms and digital signatures.
  • Document Processing: creating, loading, converting and printing documents in detail.