Yes, you are right, there are lots of calculation and algebra in this. But each and every object plots in the PDF are exist in an imaginary (hidden) rectangle. When we plot an image (without rotation) it is plotting at the correct location. but when we rotate an object, it gets displaced in PDF. Because as stated earlier each object is exist in the imaginary (hidden) rectangle, which is having "Plane and Absolute height & Width". On rotation, absolute height and width gets changed but Plane height width remains the same. These are the height and width of imaginary (hidden) rectangle.
Say, we are rotating the object in iTextSharp with the help of "Image.RotationDegree=45". It rotates the object to 45 degree from the "Bottom Left Corner" of the imaginary (hidden) rectangle instead of actual image's Bottom Left Corner. Just want to ask you that is there any mechanism in iTextSharp to rotate any object from center point instead of bottom left corner? Thanks for you quick reply. Looking for you support. Thanks, Rahul 1T3XT info wrote: > > rhul_rk wrote: >> One more thing here >> we would like to mention that, in flex application items are rotating >> from >> center point and in the iTextSharp PDF items are rotating from Lower >> Bottom >> corner. Is their any sort of mechanism in iTeshSharp to rotate the image >> from center point with mention Degree of rotation. >> >> Hope we are clear with our issue. > > Am I right if I say that this is more like a Math question (algebra) > than an iText question? > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > 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/ > > -- View this message in context: http://old.nabble.com/After-rotation%2C-images-are-getting-displced-in-iText-PDF-tp27683306p27683581.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/
