我们需要从某些打印件构建PDF / A文件,有没有办法直接在Dynamics AX 2009中构建PDF / A文件?
答案 0 :(得分:1)
答案 1 :(得分:0)
查看此链接: [https://code.msdn.microsoft.com/windowsapps/How-to-create-a-PDFA-ba742648][1]
1)添加dll SautinSoft.Document.dll 2)看到此代码(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);