Hi
I'm trying to sign a PDF/A file. I followed the samples of iText and when I
do:
Dim objStamper As PdfAStamper =
PdfAStamper.CreateSignature(objReader, FileStream(Target, FileMode.Create),
ControlChars.NullChar, Nothing, Multi, PdfAConformanceLevel.PDF_A_1B)
I get the following error:
Invalid CastException
An object of the type 'iTextSharp.text.pdf.intern.PdfXConformanceImp'
cannot be converted to the type
'iTextSharp.text.pdf.interfaces.IPdfAConformance'.
I'm using the latest iTextsharp version (5.3.5) and I have referenced
iTextsharp.dll and iTextsharp.pdfa.dll
Thanks in advance
mpino
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Signing-PDF-A-wiht-iTextsharp-tp4657425.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
iText-questions mailing list
[email protected]
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