Aspose.Pdf.Examples.CSharp.AsposePDFFacades.Pages.MakeBooklet.MakeBookletUsingPageSizeAndPaths.Run C# (CSharp) Method

Run() public static method

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

            // Create PdfFileEditor object
            PdfFileEditor pdfEditor = new PdfFileEditor();
            // Make booklet
            pdfEditor.MakeBooklet(dataDir + "input.pdf", dataDir + "MakeBookletUsingPageSizeAndPaths_out.pdf", PageSize.A5);
            // ExEnd:MakeBookletUsingPageSizeAndPaths
        }
    }
MakeBookletUsingPageSizeAndPaths