Free Support Forum - aspose.com

Pdf/x conversion


#1

Hi,
I would like to know if in the Total suite exists a product that allows the conversion of a word file or a pdf file to the pdf/x format
thank you


#2

@sviluppo.errevi

Thanks for your inquiry. Yes, you can convert Word document to PDF with compliance level PDF/A-1a and PDF/A-1b using Aspose.Words. Please check the following code example.

Document doc = new Document(MyDir + "in.docx");

PdfSaveOptions optionsA1B = new PdfSaveOptions
{
    Compliance = PdfCompliance.PdfA1b,
    ImageCompression = PdfImageCompression.Jpeg
};

doc.Save(MyDir + @".PdfImageComppression PDF_A_1_B.pdf", optionsA1B);

If you want to convert PDF file to PDF-A compliance level, please read the following article. You need to use Aspose.PDF for this conversion.
Convert PDF File to PDF-A