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.

Fri Mar 30, 2018 6:42 am

pdf create such booklet,How the code is implemented
Image
Last edited by JACK00 on Fri Mar 30, 2018 8:43 am, edited 1 time in total.

JACK00
 
Posts: 2
Joined: Fri Mar 30, 2018 6:25 am

Fri Mar 30, 2018 8:06 am

Hello,

Thanks for your post.
Please refer to below sample code to accomplish your task.
Code: Select all
PdfDocument doc = new PdfDocument();
String srcPdf = "Sample.pdf";
float width = PdfPageSize.A4.Width * 2;
float height = PdfPageSize.A4.Height;
//Create booklet
doc.CreateBooklet(srcPdf, width, height, true);
doc.SaveToFile("Booklet.pdf");

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1187
Joined: Tue Sep 27, 2016 1:06 am

Fri Mar 30, 2018 8:42 am

Thanks your,but I need is this arrangement.
Image

JACK00
 
Posts: 2
Joined: Fri Mar 30, 2018 6:25 am

Fri Mar 30, 2018 8:54 am

Hi,

Thanks for your prompt response.
Sorry that our Spire.Presentation doesn't support creating such booklet (two rows and two columns), we will consider adding it as a new feature into our upgrade list. If it can be implemented in the future, we will let you know.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1187
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.PDF