Sometimes, it is required to limit the number of pages in a document. I just made a very simple example that shows how to realize that using the Changed event.
To read the full article or to download the sample, please visit the source code library:
How to limit the pages in TX Text Control

Download and Fork This Sample on GitHub
We proudly host our sample code on github.com/TextControl.
Please fork and contribute.
Requirements for This Sample
- Visual Studio 2019
- TX Text Control .NET for Windows Forms