Free Support Forum - aspose.com

Exception when editing PDF files

Hi team,

I have issues with Aspose Pdf when try to edit PDF files:

Here is my sample code:
Aspose.Pdf.Facades.PdfContentEditor editor = new Aspose.Pdf.Facades.PdfContentEditor();
editor.BindPdf(inputFile);

I’m using Aspose Slides 18.3.0.0.

Thanks,
Dung H.Nguyen
BindPDF.zip (18.2 KB)

@dunghnguyen,

Your source PDF document contains a virus, kindly review and send us a valid PDF document. Your response is awaited.

@imran.rafique
I’m going to say I’m sorry for this but I don’t have another sample files which are both cleaned and get stuck with the above code. These files are valid and can be opened by Adobe Reader and Foxit Reader as well.

Thanks

@dunghnguyen,

We managed to replicate the errors in our environment. We have logged tickets as follows:

File name: 4a5564af4bb3ba6efd8955ba08fb5e10.pdf
PDFNET-44448: An error on loading a PDF document

File name: a7eb8754f5d4e11c9f6d40e39d632db7.pdf
PDFNET-44449: An error on loading a PDF document

We have linked your post to these tickets and will keep you informed regarding any available updates.