We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Download image on click

Thread ID:

Created:

Updated:

Platform:

Replies:

149188 Nov 18,2019 08:48 AM UTC Nov 19,2019 12:42 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: XlsIO
BETBEDER Nicolas
Asked On November 18, 2019 08:48 AM UTC

Hello,

I am creating temple with IWorkbook and WordDocument and then I convert them into PDF with XlsIORenderer.ConvertToPDF and DocIORenderer.ConvertToPDF.

What I want is to be able to add an url into the pictures so I can download them on click like the file in example.

Can you help me to achieve this?
Thank you,
Nicolas

Attachment: pdf_example_39f7340.zip

Konduru Keerthi Konduru Ravichandra Raju [Syncfusion]
Replied On November 19, 2019 12:42 PM UTC

Hi Betbeder, 

Greetings from Syncfusion. 
 
Query 
Answer 
I am creating temple with IWorkbook and then I convert them into PDF with XlsIORenderer.ConvertToPDF  
 
What I want is to be able to add an url into the pictures so I can download them on click like the file in example. 
 
We have prepared simple sample for your reference and the same can be downloaded from the following link. 


Kindly try this sample and let us know if your requirement is achieved. 
 
I am creating temple with WordDocument and then I convert them into PDF with DocIORenderer.ConvertToPDF. 
 
What I want is to be able to add an url into the pictures so I can download them on click like the file in example. 
 
Yes, it is possible to meet your requirement with adding an URL into the picture, where the click in the picture of the generated PDF will access the embedded URL which redirect to some other content using our Essential DocIO library. To know more details about adding an URL into the picture, please use our UG documentation page.

For more reference, please find the sample from the following link.
https://www.syncfusion.com/downloads/support/forum/149188/ze/URL_into_Picture-694935107.zip

In the sample, we have done the following things:
1. Created new instance of Word document.
2. Added section into the Word document.
3. Added the image into the section with hyperlink which redirect to some other contents.
4. Converted the Word document to PDF
  
 
Regards, 
Keerthi. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon