Export to PDF/A format
Contents
[
Hide
]How to export to PDF/A format
Issue: How to export to PDF/A format (CADNET-281).
Tips: To do this, create pdfOptions.CorePdfOptions and set pdfOptions.CorePdfOptions.Compliance to Aspose.CAD.ImageOptions.PdfCompliance.PdfA1a.
Example:
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); |