Hi.
I'm very much happy with your controls. Recent;y I have problem with converting pdf tp image with one of my users who has uploaded the pdf in the attachment.
Pdf is unable to export as image. It's being struck at exporting.
This is the code I'm using it for exporting as Image:
For Each filePath As String In filePaths
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)
image.Save("Downloads\"+ "Image_" & filename & ".png")
loadedDocument.Close(True)
loadedDocument.Dispose()
Next
Attachment:
sample_50b40236.rar