ส่งออกไปยังรูปแบบ 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); |