public static void Run()
{
// ExStart:MakeBookletUsingPageSizeLeftRightPagesAndPaths
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
PdfFileEditor pdfEditor = new PdfFileEditor();
// Set left and right pages
int[] leftPages = new int[] { 1, 5};
int[] rightPages = new int[] { 2, 3 };
// Make booklet
pdfEditor.MakeBooklet(dataDir + "MultiplePages.pdf", dataDir + "MakeBookletUsingPageSizeLeftRightPagesAndPaths_out.pdf", PageSize.A5, leftPages, rightPages);
// ExEnd:MakeBookletUsingPageSizeLeftRightPagesAndPaths
}
}