←Select platform

MaximumSize Property

Summary

The default size all thumbnail items are fit to.

Syntax
C#
VB
C++
public LeadSize MaximumSize { get; set; } 
Public Property MaximumSize() As LeadSize 
   Get 
   Set 
public:  
   property LeadSize^ MaximumSize 
   { 
      LeadSize^ get() 
      void set(LeadSize^ value) 
   } 

Property Value

A LeadSize object indicating the default maximum width and height, in pixels, of each ImageViewerItem thumbnail image. This property cannot be null, LeadSize.Empty, or a size of no width or no height. The default value is a LeadSize 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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly