Could you please explain if it is possible to insert a Page Break into an existing PDF document using Aspose.PDF, or we must have an Aspose.PDF KIT instead.
Currently we licensed Aspose.PDF, Aspose.Words and Aspose.Cells. All for .NET.
Aspose.Pdf is a component which is sued to generate PDF files from scratch, whereas if you need to manipulate/edit existing PDF files, please try using Aspose.Pdf.Kit.
By page break, if you mean to insert a new blank page, then I am pleased to inform you that, this feature is supported by Aspose.Pdf.Kit. For further related information, please visit Insert Pages into a PDF Document
If it does not satisfy your requirement, please feel free to share.
I am afraid currently Aspose.Pdf for .NET does not support the feature to break a table inside an existing PDF document. However for the sake of implementation, I have logged this requirement as PDFNEWNET-30943 under New Features list in our issue tracking system. We will further look into the details of this requirement and will keep you updated on the status of correction. Please be patient and spare us little time. We apologize for this inconvenience.
We are pleased to share that the issue reported earlier is fixed and its resolution will be included in upcoming release of Aspose.Pdf for .NET 9.8.0. In order to fulfill your requirements, please try using following code snippet.
[C#]
Document doc = newDocument();<o:p></o:p>
doc.Pages.Add();
Aspose.Pdf.Table tab = new Aspose.Pdf.Table();
tab.Border
= new
Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.All, Aspose.Pdf.Color.Red);
tab.DefaultCellBorder
= new
Aspose.Pdf.BorderInfo(Aspose.Pdf.BorderSide.All, Aspose.Pdf.Color.Red);