maximumSize Property

Summary

The default size all thumbnail items are fit to.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentViewerThumbnails.prototype, 'maximumSize', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly