I use templates for this (in C#):

PdfTemplate template = writer.CreateTemplate(width, height);
PdfReader reader = new PdfReader(path);
PdfImportedPage page1 = this.GetImportedPage(reader, 1);
template.AddTemplate(page1, width, 0, 0, height, 0, 0);
writer.AddTemplate(template, 1, 0, 0, 1, x, y);

hope this helps
-- 
View this message in context: 
http://www.nabble.com/How-do-you-convert-a-PDF-Document-to-an-com.lowagie.text.Image-tf1967971.html#a5545817
Sent from the iText - General forum at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to