Reference Guide
Reference Guides / JavaScript API / Actions / Document / LoadFromFile
In This Topic
    LoadFromFile
    In This Topic
     LoadFromFile

    This asynchronous function allows you to load a document into the DocuVieware™ viewer from a local document.

    LoadFromFile: function (docuViewareID, success, error)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to load the document in.
    success
    A function that will be executed upon success.
    error
    A function that will be executed upon error.

    Return Value

    1 if error, 0 if success.