Method 1: Upload the PDF files to the web server and then display them with the following code:

inet l_inet

l_inet = create inet

l_inet. HyperLinkToURL("http://192.168.168.18/files/test.pdf")

Method 2: Use the Webview objects provided in the Appeon 2015 to display the PDF files locally. Below is the related help documentation and code for your reference:

 https://www.appeon.com/support/documents/appeon_online_help/2015/workarounds_and_api_guide/ch01s04s13.html#d0e17187

int  li_ret

string ls_filepath

ls_filepath = appeongetcachedir()+"/plugin/test.pdf"

li_ret = uo_webview.of_loadlocalfile (ls_filepath)

if li_ret > -1 then

 messagebox("note:", "success of_loadlocalfile:FilePath:" +ls_filepath + ", return value:" +  string(li_ret))

else

messagebox("note:", "failed of_loadlocalfile:FilePath:" +ls_filepath + ", return value:" +  string(li_ret))

end if

0
0