Indicates the number of thumbnails workers.
Object.defineProperty(DocumentViewerThumbnails.prototype, 'workerCount',
get: function(),
set: function(value)
)
workerCount: number;
The number of thumbnails workers, default value is 4. This value cannot be less than 1.
WorkerCount is not used when the value of UseGrids is true.
When the value of UseGrids is false (the default), then this class loads the thumbnail of the pages one at a time (through the use of DocumentPage.GetThumbnailImage and DocumentViewerOperation.GetThumbnail operation will contain the thumbnail image data in the DocumentViewerOperationEventArgs.Data1 member.
Getting a thumbnail involves making a call to the Document service using DocumentPage.GetThumbnailImage to get the image data, loading it internally and waiting for it to be ready then rendering it on the image viewer.
During this waiting part, this class can start loading another thumbnail if needed up to WorkerCount. The maximum numbers of thumbnails being loaded that has not been processed will not exceed the value set in WorkerCount.
The higher the number, the more stress on the service (and the client machine connection) and the default value of 4 is a good compromise between speed and system load. To reduce service stress, consider LazyLoad.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.