I have a novel with seventy-five chapter titles. I want to insert seven lines before each title. Every title begins with the word CHAPTER.
Windows 10. Aspose 21.4. C#.
Please move the cursor to the desired node and insert the line break using DocumentBuilder.InsertBreak method as shown below.
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertBreak(BreakType.LineBreak);
Please read the following articles.