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