Export PDF/A Format Documents in C#

IronPDF can not yet fully support PDF/A format from a HTML to PDF conversion in C# or vb.net.

To achieve PDF/A we create our PDFs using IronPDF and then run them through Ghostscript to convert to PDF/A.

Please install Ghostscript. You may need to install Ghostscript 32 bit even on 64 bit platforms.

You may then convert an IronPDF document to PDF to PDFA using the dPDFA flag.

gs -dPDFA -dBATCH -dNOPAUSE -dUseCIEColor -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile=output_filename.pdf input_filename.pdf

Good Reading: