Leadtools.Documents Namespace > DocumentFactory Object : BeginUpload Method |
function Leadtools.Documents.DocumentFactory.beginUpload()
Type | Description |
---|---|
jQueryApi.IDeferred | A Promise object that may resolve succesfully to a string object containing the result URI that can be used with UploadDocument to upload a document. |
BeginUpload returns a Promise for a uri that the application may use to upload a JavaScript File object with UploadDocument. BeginUpload, UploadDocument, and AbortUploadDocument are used together to get the same functionality as UploadFile, giving more control over the upload process.
Refer to Uploading Using LEADTOOLS Documents Library for more information on how to use this method.
Refer to UploadDocument for an example.