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

Free Support Forum - aspose.com

PdfConverter Close method hangs

After instantiating and using the PdfConverter, whenever, I call the close method, my application hangs. I've waited upto 4 minutes before killing the process. I noticed that none of your examples call the close method. Close is supposed to release resources used by the converter before disposing of the object. Does this method work:?

Code example:

Dim converter As PdfConverter = New PdfConverter()



Dim prefix As String = "D:\Test\"

Dim suffix As String = ".png"

Dim imageCount As Integer = 1

While converter.HasNextImage()

converter.GetNextImage(prefix + imageCount + suffix, ImageFormat.Png)

imageCount = imageCount + 1

End While


Hi Shiran,

We’re investigating this issue at our end and you’ll be updated shortly.

We’re sorry for the inconvenience.

Hi Shiran,

I have tested this issue at my end using the latest version (5.0.0), but couldn’t notice any such problem with the Close method. Could you please try using the latest version? If you still find the same problem then please share the input PDF file you’re using at your end, so we could test the issue using your particular scenario.

We’re sorry for the inconvenience and looking forward to help you out.