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! :-)


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.