Hi,
I saw there is a (new?) property ConvertTo on the PDFFileEditor class that expects the enum Aspose.Pdf.PdfFormat.
For both there is no documentation yet, and they also don’t seem to work. I tried the following code to concatenate two PDF files (version 1.7) to PDF A.
PdfFileEditor pdfEditor = new PdfFileEditor();
// doesn’t work in 7.1
pdfEditor.ConvertTo = Aspose.Pdf.PdfFormat.PDF_A_1A;
pdfEditor.Concatenate(firstPdf, secondPdf, outputFileName);
It doesn’t produce an error, but also no output file. Only when I change the PDF format property to Aspose.Pdf.PdfFormat.v_1_7 it produces a concatenated file, but that’s because there’s no conversion involved.
Cheers,
Peter
Hi Peter,
Thanks for using our products.
The ConvertTo property in PdfFileEditor class provides the capability to specify the output format of document being generated with PdfFileEditor class. But I am afraid when using this property while concatenating PDF files, the output file is not being generated. For
the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-34033. We will investigate this
issue in details and will keep you updated on the status of a correction.
the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-34033. We will investigate this
issue in details and will keep you updated on the status of a correction.
We apologize for your inconvenience.
However as a workaround, you may consider combining these documents using Document class present under Aspose.Pdf namespace and once the files are merged, you may specify the PDF compliance format. Please visit the following links for further details on
The issues you have found earlier (filed as PDFNET-34033) have been fixed in Aspose.PDF for .NET 25.10.