I have solved my issue by switching to com.itextpdf.text.pdf.PdfCopy.
I no longer need a separate rotate process, but if I did
com.itextpdf.text.pdf.PdfDictionary and
com.itextpdf.text.pdf.PdfStamper will rotate.
On Thu, Jan 19, 2012 at 12:34 PM, Stephen More stephen.m...@gmail.com wrote:
I
Image.RotationDegree=45 will rotate the image from the center point but it will
place it by the bottom left corner of the rectangle containing the image after
the rotation. If you have problems calculating the position after that you
should go back to kindergarden and learn how to do sums. Did
rhul_rk wrote:
Can any one help us???
As I said before, and as you confirmed:
it's a not an iText question, but a question about algebra.
You do the math...
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
PdfContentByte.concatCTM() or PdfContentByte.transform().
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Thomas Kbler
Sent: Tuesday, April 19, 2005 4:50 PM
To: iText-questions@lists.sourceforge.net
Subject: [iText-questions] rotation of
Use PdfContentByte.concatCTM() or PdfContentByte.transform() before placing
the table.
Best Regards,
Paulo Soares
-Original Message-
From: Philippe Couas [SMTP:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 14:43
To: [EMAIL PROTECTED]
Subject: [iText-questions] rotation of
See the code in PdfContentByte.addImage().
Best Regards,
Paulo Soares
-Original Message-
From: Matt Benson [SMTP:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 20:26
To: Paulo Soares; itext-questions
Subject: Re: [iText-questions] rotation
Is there a way to convert
To: Paulo Soares; itext-questions
Subject:Re: [iText-questions] rotation
Is there a way to convert a PdfImportedPage to an
Image so that I can avoid duplication of code and
use
matrix() to do the calculations for arbitrary
rotations? Or even if I have to copy code, the
array
returned
Is there a way to convert a PdfImportedPage to an
Image so that I can avoid duplication of code and use
matrix() to do the calculations for arbitrary
rotations? Or even if I have to copy code, the array
returned is
[AX, AY, BX, BY, CX, CY, DX, DY]
Do these correspond to a, b, c, and d of THE
What you have is a translation and a rotation. The rotation pivot is always
the bottom left point of the object. The translation makes the object to
still have the bottom left as the reference. An object rotated 90 degrees
disappears to the left and must be pulled right by it's height that now, as