New Sample: Processing MS Word Compatible Page Number Fields
A source code sample demonstrates inserting MS Word compatible page number fields into headers and footers using the ApplicationFields API in TX Text Control .NET for Windows Forms 14.0. The fields display current page and total count and round-trip correctly through DOCX, DOC, and RTF.

We just published a new sample in our source code library - an extensive collection of useful samples. This sample shows how to process MS Word compatible page number fields using the new ApplicationFields of TX Text Control .NET for Windows Forms 14.0.
The sample shows how to insert the current page number and the total number of pages into a header or footer. These fields are compatible to MS Word and can be exported and imported from DOCX, DOC and RTF.
You can download the sample here:
Related Posts
New Sample: Implementing a 'paste Special' Dialog Box
A Paste Special dialog for TX Text Control lets users select which clipboard format to insert: RTF, plain text, or Unicode text. Since MS Word stores all three simultaneously on copy, the dialog…
Resize Images to Fit into Page
Pasted screenshots that exceed the page width can be automatically scaled via the ImageCreated event in TX Text Control for Windows Forms. The handler converts twips to pixels, computes a ratio…
Getting Started Video Tutorial: Using DS Server with Docker
This video tutorial demonstrates how to quickly set up a Docker container with your own on-premises DS Server backend. You'll learn how to spin up the container in just seconds and configure it to…
ASP.NETASP.NET CoreDocument Editor
Getting Started Video Tutorial: Document Editor in ASP.NET Core C# on Linux
This video tutorial shows how to use the Document Editor in an ASP.NET Core application using C# and deploy on Linux using Docker. This tutorial is part of the TX Text Control Getting Started…
Video Tutorial: Creating a MailMerge Template and JSON Data Structure
This video tutorial shows how to create a MailMerge template and a JSON data structure to merge data into a document. This tutorial will walk you through the steps necessary to create a template…
