Free Support Forum -

Can Words save to PDF/A

Hi, I’m using aspose for archival Office Doc to PDF conversion. I’d like all the docs to be in PDF/A format. Is there an option for say the Words“Document.Doc2PdfSave test.doc”) function to save to PDF/A. Or do I need to first save to PDF, then use the PDF library to get a PDF/A?

Hi Erich,

Yes, you can use the following code to save to PDF/A using Aspose.Words.

Document doc = new Document(getMyDir() + "Rendering.doc");

<?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" />

PdfSaveOptions options = new PdfSaveOptions();

options.setCompliance(PdfCompliance.PDF_A_1_B); + “Rendering.SaveToPdfWithOutline
, options);

You can also export to PDF using Aspose.Words and then use Aspose.Pdf to save to PDF/A so both approaches can work.

Best Regards,