VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / addFile Methods / addFile(string) Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    addFile(string) Method
    In This Topic
    Sends an asynchronous request to a server, gets information (without file authentication) about images, which are stored in file on server and adds images to the web document viewer.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);
    
    var value; // Type: any
    
    // Parameters
    var fileId; // Type: string
    
    value = instance.addFile(fileId);
    
    
    function addFile(
    fileId
    A string that represents the identifier of file, which is stored on server, or URL to a file.
    : string
    ) : any;

    Parameters

    fileId
    A string that represents the identifier of file, which is stored on server, or URL to a file.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also