简体   繁体   中英

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]

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);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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