Upload multiple images & convert it into pdf

Hello sir,

I want to give an option to user to upload multiple images & convert those uploaded images into single pdf or open those images in pdfviewer with a seperate window.

Thanks 
Rahul Kumar 

3 Replies 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team January 21, 2021 12:31 PM UTC

Hi Rahul, 
 
Thank you for contacting Syncfusion support. 
 
We can load image streams, files on disk, and use System.Drawing.Bitmap objects to draw the images through the DrawImage method of the PdfGraphics class. Please find the below documentation link for more information, 
 
 
Currently, we do not have support for load the images in our PDF Viewer. We have only support for load the PDF documents in PDF Viewer with a separate window.   
  
Please refer the below link to open the PDF Viewer in new window ,  

Please let us know if you need any further assistance with this. 

Regards, 
Gowthamraj K 


Marked as answer

RK Rahul Kumar January 22, 2021 05:19 AM UTC

Hello Gowthamraj,

With reference to the above query, i have used uploadbox control through which user can upload multiple image data & after clicking on generate pdf button , it should show the image data in pdf form. If there are 3 image data, then pdf document must have 3 pages. You can refer to my code snippet attached below.

Attachment: Dialog_Button_(2)_631579e3.zip


SL Sowmiya Loganathan Syncfusion Team January 25, 2021 12:09 PM UTC

Hi Rahul,  

With reference to the above query, i have used upload box control through which user can upload multiple image data & after clicking on generate pdf button , it should show the image data in pdf form. If there are 3 image data, then pdf document must have 3 pages. You can refer to my code snippet attached below.  
Please follow up the forum #161715 for further assistance on this query.  
 
Regards, 
Sowmiya Loganathan 


Loader.
Up arrow icon