Im having trouble giving the converted PDF a PDF/A conformance. I followed the guide https://www.e-iceblue.com/Tutorials/Spire.Doc/Spire.Doc-Program-Guide/Conversion/How-to-Convert-Word-to-PDF/A-in-C.html.
But both Adobe Reader and VeraPDF does not detect any Conformance level.
I have attached the DOCX im trying to convert.
My code
- Code: Select all
var document = new Document(docFile.OpenReadStream(), FileFormat.Auto);
var parameters = new ToPdfParameterList()
{
PdfConformanceLevel = PdfConformanceLevel.Pdf_A2A
};
document.SaveToStream(pdfDocument, parameters);