Open pdf file and display pdf content


Danny Cheah

Hi David, 

Which control can I use to open a pdf file and show the content on screen? 

Thanks in advance. 


Thank you.
Best regards,
Danny Cheah

DecSoft

Hello Danny,

We can use an IFrame control like you can see in the "PDFViewer" app sample. We use here our own PDF viewer (the Mozilla PDF viewer). We can also use that viewer in order to shown the PDF using the "OpenWindow" action. Another possibility is to use the "OpenWindow" action without any viewer, but the system may have no viewers. Can be another possibilities like download the PDF file and open it, using the system default viewer. Depending the target platforms we can use one or another approach.



Danny Cheah
Thanks David. Will give those options a try.
Thank you.
Best regards,
Danny Cheah

DecSoft

No problem! :-)


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.