maximumSize Property

Summary

The default size all thumbnail items are fit to.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewerThumbnails.prototype, 'maximumSize', 
	get: function(), 
	set: function(value) 
) 
maximumSize: LeadSizeD; 

Property Value

A LeadSizeD object indicating the default maximum width and height, in pixels, of each ImageViewerItem thumbnail image. This property cannot be null, LeadSizeD.Empty, or a size of no width or no height. The default value is a LeadSizeD of 128 by 128 pixels.

Remarks

Prior to version 19.0.0.14, the ImageViewer created in DocumentViewerThumbnails had ImageViewer.ItemSize set to an unchangeable value. This size is used to create the fitted size of the thumbnail image.

Now, ImageViewer.ItemSize is not set in DocumentViewerThumbnails and only read, so a user may set ImageViewer.ItemSize to control the image thumbnail size. If ImageViewer.ItemSize is empty or of no width or no height, then this default MaximumSize is used instead.

History

19.0.0.14
Added
Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.