We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bug reports for Pdf.dll PdfContentEditor

Hi, Support:

Here another bug report like this:
Dim editor As PdfContentEditor = New PdfContentEditor()
editor.BindPdf(sFile)
Pages = editor.Document.Pages.Count
for p =1 to Pages
for I =1 to ImgN
On Error Resume Next
editor.ReplaceImage(p, d, AppPath & “\NewImage.jpg”)
next
next
Bug: If I=1, it’s ok , if I>1, the throw exception like that " the file AppPath & “\NewImage.jpg” is in use so that the replacement operation fail.
please fix it.

@ducaisoft

Could you kindly share used source files and complete code snippet with which we can replicate the issue at our side. We will test the scenario in our environment and address it accordingly.