I’m currently doing some research to find out if I can use your products to convert Word/Excel/PowerPoint files to PDF. It’s a must that these PDF files are in PDF/A format. I’m using the trial versions atm.
When I try something like this:
string savePath = Path.Combine(path, “Output_” + fi.Name + “.pdf”);
Document doc = new Document(fi.FullName);
//Convert to PDF/A
using (FileStream str = File.Open(savePath, FileMode.Open))
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf(str);
pdf.Conformance = Aspose.Pdf.PdfConformance.PdfA1B;
It’s doesn’t work. I get a blank PDF and Adobe Reader says there was an error while reading the document.
Is there a way I can use your products in the manner I stated above? If so, how can I do this, can you provide me with some code examples?
Thanks in advance,
This message was posted using Page2Forum from How to create PDF/A-1 with Aspose.Pdf - Aspose.Pdf for .NET