I am developing a function that converts a .doc file to Pdf/A1 (ISO 19005-1) in C# with the iTextsharp 5.5.13 library. I'm creating it based on the following documentation: Concepts, Pdf/A1 Java, Pdf C# and Pdf/A3 Java
The problem I have is that some methods and classes (PdfAWriter and PdfAConformanceLevel) seem not to be in this version of iTextsharp. Has anyone been able to do this step that can indicate me some link with the documentation to create Pdf/A1 with the library iTextsharp 5.5.13 for C#, or in some other way to create a Pdf/A1 from a .doc?
Why would you use the maintenance release of an old iText version instead of the latest version iText 7.1.2? We don't use the name iTextSharp anymore; iTextSharp was renamed to iText for .NET two years ago. See the iText 7 download page.
This being said: if you go to the iText 5 download page, you'll discover that iText 5 consists of different packages, one of which is called itextsharp.pdfa
. It seems that you overlooked this package.
If you use Nuget, do:
Install-Package itextsharp.pdfa
And you'll be able to use the PdfAWriter
and PdfAConformanceLevel
class. However, I would recommend you to use iText 7 instead.