VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / addFile Methods / addFile(Vintasoft.Shared.WebFileInfoJS) Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
addFile(Vintasoft.Shared.WebFileInfoJS) 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: WebFileInfoJS

value = instance.addFile(fileId);

Parameters

fileId
An instance of WebFileInfoJS class.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also