Starts uploading a document to the cache.
beginUpload = function(
Optional: The ID to be used with the loaded document.
When the value of documentId is null (the default), then the document factory will create a new unique ID using a GUID generator. If the value is not null, then it is assumed to be a user-defined ID and used as is. In either case, the value is set in the LEADDocument.DocumentId property of the newly created document.
User-defined IDs can be used when the system already have unique IDs associated with the documents to be viewer. The document factory will not check nor guarantee the uniqueness of these IDs.
BeginUpload returns a Promise for a uri that
File object with UploadDocument/UploadDocumentBlob.
BeginUpload, UploadDocument/UploadDocumentBlob, and AbortUploadDocument
are used together to get the same functionality as UploadFile/uploadfiledocument, giving more control over the upload process.
When uploading is finished, EndUpload must be called to inform the factory that the uploading process has finished.
Refer to Uploading Using LEADTOOLS Document Library for more information on how to use this method.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries