Hi,
I have a Probleme with the new Version of Itextsharp 5.4.5.
I used to ItextSharp 4.1.6 to make PDF/A with this Code:
PdfStamper pst = null;
PdfReader reader = new PdfReader(myfilename);
FileStream fs = new FileStream(snewfilename,
FileMode.Create, FileAccess.Write, FileShare.None);
pst = new PdfStamper(reader, fs);
pst.Writer.SetPdfVersion(PdfWriter.PDF_VERSION_1_4);
pst.Writer.PDFXConformance = PdfWriter.PDFA1B;
pst.Writer.CreateXmpMetadata();
pst.FormFlattening = true;
pst.Close();
reader.Close();
fs.Close();
And now this Line pst.Writer.PDFXConformance = PdfWriter.PDFA1B;
Have probleme and make Error while PDFA1B doesn't exist.
Can you please help me that my code works ?
Thanks
Mit freundlichen Grüßen,
NETCONTROL GmbH
Fabrice Reithinger, Applikationsentwickler
_____________________________________________________________
Telefon +49-7667-9336-0
E-Mail f...@netcontrol.de<mailto:f...@netcontrol.de>
_____________________________________________________________
NETCONTROL GmbH<http://www.netcontrol.de/>
Waldstrasse 32
79206 Breisach a.Rh.
Germany
_____________________________________________________________
Registergericht / Court of Registration:
Amtsgericht Breisach, HRB 290484
Geschäftsführer / CEO:
Harald Hensle
_____________________________________________________________
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php