uploadBlobChunkSize Property (original) (raw)
Summary
Maximum size of the chunk of data to use when uploading data to the service.
Syntax
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.
Leadtools.Document Assembly