For some reason, this doesnt work - it doesnt error, but it doesnt work?

Any ideas?




Paul Hastings wrote:

Neil Robertson-Ravo wrote:

pdfFile=expandPath(vcPDFfile);
newFile=expandPath(vcNewPDFFile);
fos=createObject("java","java.io.FileOutputStream").init(newFile);
reader = createObject("java","com.lowagie.text.pdf.PdfReader").init(pdfFile); pdfStamper = createObject("java","com.lowagie.text.pdf.PdfStamper").init(reader, fos);


pageSize = createObject("java", "com.lowagie.text.PageSize").init();

pdfStamper.setFormFlattening(false);
pdfStamper.insertPage(0,PageSize.A4);
pdfStamper.close();


the A4 is a field in the PageSize class.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to