Hi , I’m new to using aspose.pdf,I have a problem:After rotating the PDF page,use the MakeBooklet method,The final PDF file is the same as before the rotation
Here is my code:
Document doc = Document(“one.pdf”);
for (int i - 1; i < doc getPages().size()+1; i++) {
Page page = doc-getPages().get_Item(i) ;
page.setRotate(Rotation.on270) ;
}
doc.save(“two.pdf”);
PdfFileEditor pre = new PdfFileEditor();
FileInputStream fileInput = new FileInputStream(“two.pdf”) :
FileOutputStream fileOut = new FileOutputStream(“three.pdf”);
pre.makeBooklet(fileInput, fileOut);
!
Please help me to solve it, thank you