LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also