ImageMan.Net Version 3 Summer 2012 Release
ThumbSize Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > ThumbNailViewer Class : ThumbSize Property





Glossary Item Box

Specifies the size of each Image thumbnail.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.CategoryAttribute("Behavior")>
<System.ComponentModel.DescriptionAttribute("Specifies the color used to draw the background of selected thumbs")>
Public Property ThumbSize As System.Drawing.Size
Visual Basic (Usage)Copy Code
Dim instance As ThumbNailViewer
Dim value As System.Drawing.Size
 
instance.ThumbSize = value
 
value = instance.ThumbSize
C# 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Specifies the color used to draw the background of selected thumbs")]
public System.Drawing.Size ThumbSize {get; set;}
JScript 
System.ComponentModel.CategoryAttribute("Behavior")
System.ComponentModel.DescriptionAttribute("Specifies the color used to draw the background of selected thumbs")
public function get,set ThumbSize : System.Drawing.Size
Managed Extensions for C++ 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Specifies the color used to draw the background of selected thumbs")]
public: __property System.Drawing.Size get_ThumbSize();
public: __property void set_ThumbSize( 
   System.Drawing.Size value
);
C++/CLI 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Specifies the color used to draw the background of selected thumbs")]
public:
property System.Drawing.Size ThumbSize {
   System.Drawing.Size get();
   void set (    System.Drawing.Size value);
}

Remarks

The default value is 75x75 pixels. For best image quality this value should be set prior to loading images into the control.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.