[iText-questions] problem with page rotation and page size

2007-05-29 Thread parvez
I am trying to merge 3 pdf files.On First and second pdf's am getting reader.getPageRotation(i) == 90 and on the third pdf file am getting reader.getPageRotation(i) == 0. I am setting document pageSize based on pdfDocument.setPageSize(reader.getPageSizeWithRotation(pageNo)); My problem is, whi

[iText-questions] Problem with page rotation.

2004-06-07 Thread Martin Cerba
I need create copy of pdf file with one or more pages rotated by 90, 180 and 270 degrees. My function to rotate by 90 degreeslooks like: // create pdf reader reader = new PdfReader(inputFile.getCanonicalPath()); // get number of pages in input file pagesNumber = reader.getNumberOfPages();