Hi,
I'm using community version controls and after the recent update 16.1.0.24 export pdf page which has images in it and I would like to show it as image which is not working for all the pdf's and taking too much time to export it. .
This is how I'm trying to export:
Dim filename As String = System.IO.Path.GetFileNameWithoutExtension(filePath)
Dim loadedDocument As New PdfLoadedDocument(filePath)
Dim loadedPages As PdfLoadedPageCollection = loadedDocument.Pages
Dim image As Bitmap = loadedDocument.ExportAsImage(0) /*At this point the code is being struck and not throwing any error*/
image.Save(outputPath + "Image_" & filename & ".png")
loadedDocument.Close(True)
loadedDocument.Dispose()
Please test with the attached pdf and let me know what is the issue ?
Attachment:
sample_dd432582.rar