# Document Processing

> Process documents in Windows Forms code with TextControl and ServerTextControl: load, save, tables, headers, fields, forms, track changes, XML and printing.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Document Processing
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/llms-full.txt

---

## On This Page

- [How Document Processing Works](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/#how-document-processing-works)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/#find-the-right-page)
- [Where to Start](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/#where-to-start)
- [Pages in This Section](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/#pages-in-this-section)

---

## In This Section

- [Charts and Barcodes](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/charts-barcodes/llms.txt): Insert QR codes and Code 128 barcodes with TXBarcodeControl and BarcodeFrame, update them, and add charts bound to a DataTable in Windows Forms documents.
- [Comments and Tracked Changes](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/comments-changes/llms.txt): Process comments and tracked changes in Windows Forms: comment on found text, accept one reviewer's changes, strip all markup and compare two versions.
- [Conditional Instructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/conditional-instructions/llms.txt): Set up conditional instructions for a Windows Forms TextControl in the dialog box or in C#: date, text and regex conditions, else values and radio buttons.
- [Content Controls and Word Form Fields](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/content-controls/llms.txt): Create MS Word content controls and read legacy form fields in Windows Forms with ApplicationFieldFormat, ContentControlFieldAdapter, FormText and NextField.
- [Creating Documents](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/creating/llms.txt): Create documents in a Windows Forms app: reset the editor, set page size and margins, insert Selection objects, append files, set properties and turn off undo.
- [Exceptions and Error Handling](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/exceptions/llms.txt): Handle FilterException, LicenseLevelException and other TX Text Control exceptions in Windows Forms: return values, loading, Task.Run and ThreadException.
- [Fields and Subtext Parts](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/fields/llms.txt): List the MS Word fields and links of every header, footer and text frame with TextParts in Windows Forms, read field codes and mark ranges with SubTextPart.
- [Forms and Conditional Instructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/form-fields/llms.txt): Process fillable forms in Windows Forms code: form field types, protection, value events, conditional instructions, reading values and flattening forms.
- [Images, Text Frames, and Shapes](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/images-shapes/llms.txt): Place images, text frames and drawings inline, anchored or fixed in a Windows Forms document, add a watermark and render shapes as SVG with TXDrawingCore.
- [Loading Documents](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/loading/llms.txt): Load, append and insert DOCX, RTF, HTML and PDF in a Windows Forms TextControl, control the import with LoadSettings, read metadata and handle FilterException.
- [Document Object Model](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/object-model/llms.txt): How TextControl and ServerTextControl organize a document: text parts, IFormattedText, frames, sections, the input focus rule, positions and twips.
- [Printing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/printing/llms.txt): Print from Windows Forms code with a PrintDocument: page ranges, copies, several files in one job, background printing, MailMerge.Print and FormattingPrinter.
- [Saving and Converting Documents](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/saving-converting/llms.txt): Convert a folder to PDF with ServerTextControl, save selections and paragraphs, write HTML with CSS, shrink PDF images and omit comments with SaveSettings.
- [Sections, Pages, Headers, and Footers](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/sections-headers/llms.txt): Give sections their own headers, set page columns and borders, remove section breaks and render pages as images, SVG or TIFF in a Windows Forms TextControl.
- [Using ServerTextControl in Desktop Applications](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/servertextcontrol/llms.txt): Use ServerTextControl beside the Windows Forms editor: create and dispose it, pass documents as byte arrays, merge letters and license it in a class library.
- [Tables and Calculations](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/tables/llms.txt): Fill Windows Forms tables from data in code with TableCellFormat borders, header rows and column widths, nest tables and read or remove a document's tables.
- [Text, Paragraphs, and Stylesheets](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/text-paragraphs/llms.txt): Select, find and format text and paragraphs of a Windows Forms document in code, and read the paragraphs with their styles, lines and list numbers.
- [XML Processing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/llms.txt): Load XML files with DTD and CSS into a Windows Forms TextControl, handle XmlInvalid, edit elements with GetXmlElements and the ButtonBar, and save XML and CSS.

---

## Nearby

- **Previous:** [Events](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/events/llms.txt)
- **Next:** [Document Object Model](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/object-model/llms.txt)
