uploadBlobChunkSize Property

Summary

Maximum size of the chunk of data to use when uploading data to the service.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentFactory, 'uploadBlobChunkSize', 
   get: function(), 
   set: function(value) 
) 
static uploadBlobChunkSize: number; 

Property Value

The maximum size of the chunk of data to use when uploading data to the service in bytes. The value size is 1,048,576 (1MB).

Remarks

uploadFile and uploadFileDocument are used to upload a document stored in a JavaScript Blob/File object to the service in one shot.

Internally, DocumentFactory will send the data in chunks. The size of each chunk is uploadBlobChunkSize.

The default value is 1MB. Increasing this value will speed up the upload process at the expense of using more system memory in both the client and the service.

Requirements

Target Platforms

Help Version 20.0.2019.12.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly