anlha wrote: > 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
Maybe the original PDF has viewer preferences that you're not copying (use setViewerPreferences) or maybe the zoom is set using JavaScript in which case you should copy the JavaScript. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ 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/
