TX Text Control .NET Server

.NET API

Topic

Every class, property, method and event that your C# code calls is documented in the .NET class library reference, sorted by namespace. Which namespace a class lives in tells you a lot about what it is for: the document engine and its document model are in TXTextControl, mail merge and PDF processing in TXTextControl.DocumentServer and the namespaces below it, and the ASP.NET Core integration of the Document Editor and the Document Viewer in TXTextControl.Web.MVC.

The table of namespaces below says what each one contains and where to start in it. A namespace's page in the reference lists its classes, interfaces and enumerations, and a class's page lists its members.

Namespaces

NamespaceWhat it containsStart with
TXTextControlThe document engine for server code and the document model it works with: text, selection, paragraphs, tables, images, fields, sections, headers and footers, and the settings for loading and savingServerTextControl, LoadSettings, SaveSettings
TXTextControl.DocumentServerMail merge: the class that merges templates with data, and the arguments of its eventsMailMerge
TXTextControl.DocumentServer.DataSourcesInformation about the tables, columns and relations of a data source, and the settings of a merge and its merge blocksDataSourceManager, MergeSettings
TXTextControl.DocumentServer.DataShapingInstructions that filter and sort the data of merge blocks before the mergeFilterInstruction, SortingInstruction
TXTextControl.DocumentServer.FieldsField adapters that give typed access to merge fields, IF fields, legacy form fields and content controlsMergeField, IfField, FormText
TXTextControl.DocumentServer.JsonThe exceptions that MergeJsonData throws for JSON it can't parseParserException
TXTextControl.DocumentServer.PDFMethods for PDF documents: form fields and embedded filesForms, Attachments
TXTextControl.DocumentServer.PDF.AcroFormsThe AcroForm fields read from a PDF document: text fields, check boxes, radio buttons, list and combo boxes, buttonsFormField
TXTextControl.DocumentServer.PDF.ContentsLines of text found in a PDF document, with their page and positionLines
TXTextControl.DataVisualizationCharts, barcodes and drawings placed in a document, with their layout and positionChartFrame, BarcodeFrame
TXTextControl.BarcodeThe type and format of a barcode, rendered as SVGTXBarcodeCore
TXTextControl.DrawingThe type and format of shapes in a drawing, rendered as SVGTXDrawingCore
TXTextControl.ServerVisualizationGenerators that render the text, the rulers, the status bar and the dialog boxes of a document as images, and pass user input to itTextViewGenerator
TXTextControl.Web.MVCThe HTML helper that renders the Document Editor in an ASP.NET Core view, and its settings; package TXTextControl.WebTextControlSettings, HtmlHelperExtension
TXTextControl.Web.MVC.DocumentViewerThe HTML helper that renders the Document Viewer, and its settings for loading documents, PDF.js and signatures; package TXTextControl.Web.DocumentViewerDocumentViewerSettings
TXTextControl.Web.MVC.DocumentViewer.ModelsThe data the Document Viewer sends after a signature: the signed document, the signature boxes and the completed form fieldsSignatureData
TXTextControl.WebAn editor control for ASP.NET Web Forms on the .NET Framework, derived from System.Web.UI.WebControls.WebControl, its text parts and enumerationsTextControl
TXTextControl.DocumentServer.WebA document viewer control for ASP.NET Web Forms, derived from System.Web.UI.WebControls.CompositeControlDocumentViewer

The Windows Forms and WPF controls, TextControl and WPF.TextControl, belong to the desktop products and don't exist in TX Text Control .NET Server. Code in an ASP.NET Core application, a service or a console application works with ServerTextControl.

Find the Right Namespace

If you want toStart in
Create, load, change, convert or save a documentTXTextControl, with ServerTextControl
Merge a template with JSON data, objects or ADO.NET dataTXTextControl.DocumentServer, with MailMerge
Read the merge fields or form fields of a templateTXTextControl.DocumentServer.Fields
Read AcroForm fields, embedded files or lines of text from a PDFTXTextControl.DocumentServer.PDF and the namespaces below it
Configure the Document Editor or the Document Viewer in an ASP.NET Core viewTXTextControl.Web.MVC or TXTextControl.Web.MVC.DocumentViewer
Receive a document signed in the Document ViewerTXTextControl.Web.MVC.DocumentViewer.Models

The pages of Document Processing, Mail Merge and Reporting and PDF Processing show these classes at work and link each member they use to its reference page.

To find classes by what they do rather than by namespace, Classes by Task lists the classes and members for each task, such as tables, form fields, styles, mail merge or PDF forms, together with the base classes they share. Exceptions describes what the class library throws and when.

TX Text Control AI Packages

Beside the namespaces, the navigation lists the TXTextControl.AI packages: TXTextControl.AI with TXTextControl.AI.AspNetCore, TXTextControl.AI.Knowledge, TXTextControl.AI.LlamaServer, TXTextControl.AI.Mcp and TXTextControl.AI.McpServer. They are prerelease packages on nuget.org, and each is documented by the README it ships with. Text Control AI explains what each package does and how they work together.

Pages in This Section