Leadtools.WinForms.CommonDialogs.File Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GenerateThumbnail Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : GenerateThumbnail Property



Gets or sets a value that indicates whether the dialog will generate a thumbnail image from the image file.

Syntax

Visual Basic (Declaration) 
Public Property GenerateThumbnail As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim value As Boolean
 
instance.GenerateThumbnail = value
 
value = instance.GenerateThumbnail
C# 
public bool GenerateThumbnail {get; set;}
C++/CLI 
public:
property bool GenerateThumbnail {
   bool get();
   void set (bool value);
}

Return Value

true to generate a thumbnail image from the image file; otherwise, false.

Example

Refer to RasterOpenDialog example.

Remarks

The Open dialog generates a thumbnail image from the selected image file(s) in RasterDialogFileData.Thumbnail associated with each file in the OpenedFileData list.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also