I believe this is already in the list and the answer was: "See page 418. Use the two first code lines of the code sample. Adapt the first parameters (page 1 instead of 2, Fit instead of XYZ)."
-----Original Message----- From: anlha [mailto:[email protected]] Sent: 10 August 2010 13:20 To: [email protected] Subject: [iText-questions] setting pdf initial zoom from existing file Hi all, I'm trying to convert a pdf file to pdf/a and i'm having problems setting the zoom for the iniatial view. I'm converting the file correctly but i loose the zoom property of the original one, it's important for me to keep it like it is, but i can't find any solution. There's a way to get the zoom from a pdf file and setting the property to the generated one. To do the conversion i'm using: PdfReader reader = new PdfReader(pdfOrigen); to read the original file. and PdfWriter to write it back. I'll apreciate you help Thank you. -- View this message in context: http://itext-general.2136553.n4.nabble.com/setting-pdf-initial-zoom-from-existing-file-tp2319706p2319706.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ Land Registry's House Price Index is now live. www.landregistry.gov.uk If you have received this e-mail and it was not intended for you, please let us know, and then delete it. Please treat our communications in confidence, as you would expect us to treat yours. Land Registry checks all mail and attachments for known viruses, however, you are advised that you open any attachments at your own risk. The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless Worldwide in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free. Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
