Dynamically create PDF with Image and show it on the PDF Viewer control

Hi,

I have an Image file which i need to show it on the PDF Viewer control. The requirement is, On the fly it should create PDF with image and show it on the control without PDF document being created physically. Please share some ideas how i can do this.

1 Reply

KK Karthik Krishnaraj Syncfusion Team September 28, 2018 12:38 PM UTC

Hi Dheyvendaran, 
 
Greetings from Syncfusion, 
 
At present we do not have support to load the image in PDF viewer directly. However, as a workaround we can load the image into PDF viewer, by adding that image to the PDF document. We have created the sample and shared the same in the following location.  
 
 
In the above sample click on the “Choose file from disk” to upload the image and to view the same in the PDF viewer. 
 
Please try the above sample and revert us with more details about your requirement if the provided provide sample is different from your requirement. 
 
Regards, 
Karthik. 


Loader.
Up arrow icon