Hi Deb,
We are able to reproduce the issue “PdfLoadedDocument.ExportAsImage API is not working properly while converting the attached PDF document as image”. The reported issue has been resolved while using the PdfViewerControl.ExportAsImage API with Pdfium rendering engine. We have integrated Pdfium rendering engine into our PDF viewer control and it is available from Essential studio Volume 1 2018 release, in which the reported issue has been resolved. Kindly upgrade to our latest 16.1.0.24 version to get the issue resolved and it is available for download under the following link.
https://www.syncfusion.com/forums/136049/essential-studio-2018-volume-1-release-v16-1-0-24-is-available-for-download
Please find the KB illustrating how to use Pdfium with PdfViewer for your reference in the following link.
https://www.syncfusion.com/kb/8569/how-to-use-pdfium-rendering-engine-in-syncfusion-pdf-viewer-for-wf
Kindly use the PdfViewerControl.ExportAsImage API to get this issue resolved. We have prepared the sample for your reference. Please find the sample from below link.
http://www.syncfusion.com/downloads/support/forum/133120/ze/WF-1491892953.zip
Regards,
Priyanga.E
Hi Sinoheh,
We are unable to reproduce the issue “some of the text and images are missing while exporting the pages into images using ExportAsImage API” with windows server 2016 and Visual studio 2015 in release mode. We have prepared the sample by using the provided code snippet and the input PDF document. Please find the sample from below link.
http://www.syncfusion.com/downloads/support/forum/133120/ze/ExportAsImage366051463
We have created a support incident under your account to track and provide a solution for this issue. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Regards,
Priyanga.E