- Code: Select all
Spire.Doc.Document doc = new Spire.Doc.Document();
doc.LoadFromFile(path);
doc.Replace("##DATEOFISSUE##", DateVar, true, true);
The above works fine, but I now want to add a 3rd new page and start adding new text to it.
I'm not able to insert a PageBreak after the existing 2 pages to create a new page, and then add new text after the PageBreak.