导出到 PDF/A 格式
Contents
[
Hide
]如何导出到 PDF/A 格式
问题: 如何导出到 PDF/A 格式 (CADNET-281)。
提示: 为此,创建 pdfOptions.CorePdfOptions 并将 pdfOptions.CorePdfOptions.Compliance 设置为 Aspose.CAD.ImageOptions.PdfCompliance.PdfA1a。
示例:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PdfOptions pdfOptions = new PdfOptions(); | |
pdfOptions.CorePdfOptions = new Aspose.CAD.ImageOptions.PdfDocumentOptions(); | |
pdfOptions.CorePdfOptions.Compliance = Aspose.CAD.ImageOptions.PdfCompliance.PdfA1a; | |
cadImage.Save(outDir + fileName + "_A1a.pdf", pdfOptions); | |
pdfOptions.CorePdfOptions.Compliance = Aspose.CAD.ImageOptions.PdfCompliance.PdfA1b; | |
cadImage.Save(outDir + fileName + "_A1b.pdf", pdfOptions); |