Sort of. You can use Optional Content to setup various zoom levels for specific pieces of content and/or annotations to hide/show. In addition, you can register (via JavaScript) for events on the various Optional Content Groups. And you can communication from JavaScript to ActionScript in the SWF (to tell it to update/redraw).
So nothing simple and "out of the box", but all the pieces are there... Leonard -----Original Message----- From: dhryvastov [mailto:[email protected]] Sent: Monday, September 13, 2010 11:38 AM To: [email protected] Subject: [iText-questions] Is it possible to fire event after zooming in/out? Hello - May be this is not usual question but I am very curious to know the answer: Is it possible to fire event if user zoom in (or zoom out) PDF page? I would like to rerender the page or its part if zoom action is performed. The reason why I need this functionality is the following: I have SWF file embedded in my PDF document. The default zoom of my client is 133%. This embedded SWF file (Fusion Chart) looks really nice. But if I zoom in the page, the graph is cut, it is not zoomed in too. I tried to set ScaleMode for this SWF to EXACT_FIT but in this case the graph looks not so good (but zooming is working well). If there is a possibility to rerender the page (with my FC grahp) after clicking zoom in button - it would be great news for me. We had the same issue in HTML, but calling JavaScript, which rerenders the div which contains the FC graph, solved the problem. Thanks in advance, - Denys -- View this message in context: http://itext-general.2136553.n4.nabble.com/Is-it-possible-to-fire-event-after-zooming-in-out-tp2537647p2537647.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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/ ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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/
