public static void PageBreakWithDestPath()
{
try
{
// ExStart:PageBreakWithDestPath
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_AsposePdfFacades_WorkingDocuments();
// Create PdfFileEditor object
PdfFileEditor fileEditor = new PdfFileEditor();
fileEditor.AddPageBreak(dataDir + "input.pdf", dataDir + "PageBreakWithDestPath_out.pdf", new PdfFileEditor.PageBreak[]
{
new PdfFileEditor.PageBreak(1, 450)
});
// ExEnd:PageBreakWithDestPath
}
catch (Exception ex)
{
Console.WriteLine(ex.Message + "\nThis example will only work if you apply a valid Aspose License. You can purchase full license or get 30 day temporary license from http:// Www.aspose.com/purchase/default.aspx.");
}
}
public static void PageBreakWithStream()