Look for the crop box. Paulo
----- Original Message ----- From: "Slavin, Andrew" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 26, 2008 1:17 AM Subject: [iText-questions] get page size > hi, > > i've been using PdfReader.GetPageSizeWithRotation method to determine > the height and width of pages in pdf documents for quite a while now, > and it's always been working as i expect, but now i got this document > where it does not. when i call the GetPageSizeWithRotation method on the > first page and then convert the obtained rectangle size from points to > millimeters, i get 297 x 210 mm - exactly the A4 size. when i open the > document in acrobat 7 though and select File -> Document Properties, it > tells me that the page size is 274.5 x 189.4 mm which is smaller than > A4. > > can someone please explain this behaviour? is there a way to > programmatically get the size shown by acrobat reader? > > thank you in advance, > > > Andrew Slavin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
