Hi Aspose Team
When we try to convert a doc file to PDF file, we select the option Aspose.Words.Saving.PdfCompliance.PdfUa1, but it does not work.

And here is the demo share link:
https://drive.google.com/file/d/1Gvus46SeGKfu5zVqUS_2ZKXq6Yy9xJRl/view?usp=drivesdk
1 Like
@Glority_Developer PdfUa1 is based on PDF 1.7, so Acrobat reader shows 1.7 version. But if you check the document for PDF/UA compliance for example using PAC3 you will the document is compliant:

But please note, you document does not have title, so to make it fully compliant you should specify it:
var options = new Aspose.Words.Saving.PdfSaveOptions();
options.Compliance = Aspose.Words.Saving.PdfCompliance.PdfUa1;
options.JpegQuality = 40;
options.TextCompression = Aspose.Words.Saving.PdfTextCompression.Flate;
var wordFile = new Aspose.Words.Document(srcFile);
wordFile.BuiltInDocumentProperties.Title = "some title";
wordFile.Save(destFile, options);
Thank you for your reply, but we still have some problems:
- If we try to convert a doc file that contains images to PDF(PdfUa1), it doesn’t work, please see the attached doc file and pictures.image.png (30.7 KB) learn.docx (822.0 KB)
- How can we combine two PDF(PdfUa1) files to one PDF(PdfUa1) file? We didn’t find any API or options that can help us.