LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

ThumbnailSizeFlags Property






Controls the quality of the thumbnail images created by the control.
Syntax
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates the type of resizing used when creating the thumbnails.")]
public RasterSizeFlags ThumbnailSizeFlags {get; set;}
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Indicates the type of resizing used when creating the thumbnails.")>
Public Property ThumbnailSizeFlags As RasterSizeFlags
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim value As RasterSizeFlags
 
instance.ThumbnailSizeFlags = value
 
value = instance.ThumbnailSizeFlags
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates the type of resizing used when creating the thumbnails.")]
public RasterSizeFlags ThumbnailSizeFlags {get; set;}
CategoryAttribute("Behavior")
DescriptionAttribute("Indicates the type of resizing used when creating the thumbnails.")
 get_ThumbnailSizeFlags();
set_ThumbnailSizeFlags(value);
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates the type of resizing used when creating the thumbnails.")]
public:
property RasterSizeFlags ThumbnailSizeFlags {
   RasterSizeFlags get();
   void set (    RasterSizeFlags value);
}

Property Value

A Leadtools.RasterSizeFlags enumeration that controls quality of the thumbnail images created by the control.
Remarks

The RasterThumbnailBrowser control creates thumbnail for the images found as a result of calling the LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) method. Some of these images might be larger than the ItemImageSize value, so the control will create a thumbnail of these images. You can control the speed and quality of the thumbnail creation operation by changing the ThumbnailSizeFlags property. For example, RasterSizeFlags.Normal will result in the fastest thumbnail creation operation but with lower quality. RasterSizeFlags.Bicubic will result in very high quality thumbnails, but the process of creating these thumbnails is much slower. Several other options are available, for more information, refer to the Leadtools.RasterSizeFlags enumeration.

Important note: RasterSizeFlags.FavorBlack is not supported in loading image thumbnails. If this flag is set, the RasterThumbnailBrowser control will use RasterSizeFlags.Bicubic instead.

Example
For an example, refer to RasterThumbnailBrowser.
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

Reference

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.