Link to website and fonctionnal in PDF exportation

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Link to website and fonctionnal in PDF exportation

Postby simonlec » Tue Sep 21, 2021 5:04 am

Hello,

What's the best method to create a link to a website in a vpe report and these link will be fonctionnal when the report will be exported in the PDF format?

Ex: we write in the report «visit your website» and the compagnie website will open in the default browser of the user
Thank
simonlec
 
Posts: 32
Joined: Wed Jul 30, 2008 6:50 pm

Re: Link to website and fonctionnal in PDF exportation

Postby IDEAL Software Support » Tue Sep 21, 2021 9:55 am

You can achieve this by using the latest version v7.20 of VPE, the Professional Edition - or higher - and RTF.

In the RTF document, write the hyperlink. Then import the RTF file with VpeWriteRTFFile().

If the hyperlink in the RTF file is declared as an RTF field - like Word or LibreOffice do - then VPE will export it to PDF.
IDEAL Software Support
 
Posts: 1583
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron