Aspose.Pdf.Examples.CSharp.AsposePDFFacades.TechnicalArticles.ConcatenatePdfFilesAndCreateTOC.InsertBlankPage C# (CSharp) Method

InsertBlankPage() public static method

public static InsertBlankPage ( ) : void
return void
        public static void InsertBlankPage()
        {
            // ExStart:InsertBlankPage
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdfFacades_TechnicalArticles();

            // Insert a blank page at the begining of concatenated file to display Table of Contents
            Aspose.Pdf.Document concatenated_pdfDocument = new Aspose.Pdf.Document(new FileStream(dataDir + "Concatenated_Table_Of_Contents.pdf", FileMode.Open));
            // Insert a empty page in a PDF
            concatenated_pdfDocument.Pages.Insert(1);
            // ExEnd:InsertBlankPage
        }
        public static void AddTextStamps()