Posts

Showing posts with the label Page Break

How to Insert Page Break into Word Documents in C#/VB.NET

Image
 While drafting in Word, your text flows to next page as you type. As a matter of fact, Word has inserted an automatic page break to separate 2 pages. This happens only when the first page is filled up. This article will show you how to insert a manual page break to pin blocks of contents on different pages. It stops texts on 2 pages from merging even if you add to or delete contents on one of them. Insert page break after a specific paragraph Insert Page Break after a Specific Text programming environment In this test, Free Spire.Doc for .NET is introduced into the program. The Spire.Doc.dll file can be referenced by: Method 1: Download Free Spire.Doc for .NET locally, unzip it, and install it. After the installation is complete, find Spire.Doc.dll in the BIN folder under the installation path. Then open the "Solution Explorer" in Visual Studio, right-click "References", "Add Reference", and add a reference to the dll file in the BIN folder of the local...