Convert Excel file to PDF format compatible with PDF/A-1a

Possible Usage Scenarios

PDF/A is a unique flavor of PDF designed for the long‑term preservation of documents. PDF/A is an ISO‑standardized version of the Portable Document Format (PDF) which is an archival format that embeds all fonts used in the document within the PDF file. PDF/A differs from PDF by prohibiting features such as font linking (as opposed to font embedding) and encryption. Aspose.Cells enables you to save Excel files to PDF/A‑compliant PDF files (PDF/A‑1a, PDF/A‑1b, PDF/A‑2a, PDF/A‑2b, PDF/A‑2u, PDF/A‑3a, PDF/A‑2ab, and PDF/A‑3u are supported). This topic describes how to save the Excel workbook to a PDF/A‑compliant (PDF/A‑1a) PDF file.

Convert Excel file to PDF Format Compatible with PDF/A-1a

Developers may use the PdfSaveOptions class to set different attributes for the conversion. Setting different properties of the PdfSaveOptions class gives you control over the print, font, security, and compression settings for the output PDF. The most important property is PdfSaveOptions.Compliance that enables you to save an Excel file to a PDF/A‑compliant PDF.

The following sample code explains how to convert an Excel file to PDF format compatible with PDF/A‑1a. Please see its output PDF as well as the screenshot for reference.

Screenshot

todo:image_alt_text

Sample Code