Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Wed Feb 18, 2015 5:46 am
Hi there,
I am trying to merge multiple pdfs into one pdf but I want to layout the pages like a booklet.
Ie( page one and two together, and then page three and four etc etc). I have tried using 'createbooklet' but that lays out the pages for print.( first and last pages together etc.). is there a way to do this with Spire.pdf.
Thanks
Gary
-
griffithsg
-
- Posts: 1
- Joined: Thu Feb 12, 2015 8:03 am
Wed Feb 18, 2015 7:12 am
Hello griffithsg,
Thanks for your inquiry.
You can refer to the code below to create a booklet pdf document:
- Code: Select all
PdfDocument pdf = new PdfDocument();
pdf.CreateBooklet("Sample.pdf", PdfPageSize.A4.Width * 2, PdfPageSize.A4.Height, true);
pdf.SaveToFile("Result.pdf");
If these code doesn't work, please provide us with your code snippets, sample documents to see if we can help you out.
Best Regards,
Burning
E-iceblue Support Team
-
burning.liu
-
- Posts: 406
- Joined: Mon Aug 04, 2014 6:47 am