You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Daniel Latrémolière <da...@gmail.com> on 2011/11/09 18:48:12 UTC

Import a page with an affine transformation

I liked in iText the possibility of importing a page with an affine 
transformation applied on it (PdfTemplate.addTemplate method [1]).

I don't find a similar feature in PDFBox (only simple page import 
without affine transformation: PDDocument.importPage method [2]).

Do you have an idea for solving this problem with PDFBox (it was a very 
useful feature of iText for me)?

Thank you very much,
Daniel.

[1]: 
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfContentByte.html#addTemplate%28com.itextpdf.text.pdf.PdfTemplate,%20float,%20float,%20float,%20float,%20float,%20float%29

[2]: 
http://pdfbox.apache.org/apidocs/org/apache/pdfbox/pdmodel/PDDocument.html#importPage%28org.apache.pdfbox.pdmodel.PDPage%29