简体   繁体   English

如何从Microsoft Dynamics Ax 2009创建PDF / A文件

[英]How to create PDF/A file from Microsoft Dynamics Ax 2009

我们需要从一些打印文件中构建PDF / A文件,是否可以在Dynamics AX 2009中直接构建PDF / A文件?

see this link: [ https://code.msdn.microsoft.com/windowsapps/How-to-create-a-PDFA-ba742648][1] 看到此链接:[ 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) 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);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM