Reputation: 578
We need to build PDF/A file from some prints, Is there a way to build PDF/A file directly in Dynamics AX 2009?
Upvotes: 1
Views: 2703
Reputation: 62
see this link: [https://code.msdn.microsoft.com/windowsapps/How-to-create-a-PDFA-ba742648][1]
1) add dll SautinSoft.Document.dll 2) see this code (Ax 2012)
SautinSoft.Document.PdfCompliance compliance;
SautinSoft.Document.DocumentCore document;
SautinSoft.Document.PdfSaveOptions options = new SautinSoft.Document.PdfSaveOptions();
options.set_Compliance(SautinSoft.Document.PdfCompliance::PDF_A);
document = SautinSoft.Document.DocumentCore::Load("C:\\test.pdf");
document.Save("C:\\test.pdf",options);
Upvotes: 0
Reputation: 6056
Upvotes: 1