TX Text Control .NET Server

Document Processing

Topic

Creating, converting or changing documents in code, without showing an editor to a user, is the job of the ServerTextControl class. The following tutorials introduce server-side document processing with it for .NET developers.

What ServerTextControl Is

ServerTextControl is TX Text Control without a user interface. You create an instance in code, for example in an ASP.NET Core application, a console application or a service, create, load or change a document through its properties and methods, and save the result as DOCX, PDF or another format. ServerTextControl in the Overview describes what it does, where it runs and its key members.

If your users need to edit or view documents in the browser, use the Document Editor or the Document Viewer instead.

Pages in This Section

Read the pages in this order. Each one builds on the project from the first page.

  1. Create Your First Application — choose between Core and Classic, install the NuGet package from the Text Control private NuGet feed, and create your first DOCX and PDF document in a console application.
  2. Load a Document — load DOCX, RTF, HTML, PDF and other formats from a file, a byte array or a string, and use LoadSettings for Word templates.
  3. Create a Document — build a document in code with text, character and paragraph formatting, a table and a header.
  4. Save as DOCX and PDF — save to a file or a byte array, return a PDF from an ASP.NET Core controller, and save HTML or plain text.

After this section, continue with Mail Merge to fill templates with data, or with PDF Processing to work with PDF files in more depth.