Back to Blog

    Developer Blog

    Is it possible to open a file URL using WebPDF Viewer?

    Foxit PDF SDK for Web 6.2
    Foxit WebPDF Viewer - Discontinued

    Yes. The function openFileByUri can open a file from a URL:

    params = { url: the file url}
    WebPDF.ViewerInstance.openFileByUri(params)