ImageGear .NET v25.1 - Updated
ThumbnailLoading Property




ImageGear.Core Assembly > ImageGear.Formats Namespace > ImGearLoadOptions Class : ThumbnailLoading Property
Gets or sets a value indicating whether to load image thumbnail instead of the actual image.
Syntax
'Declaration
 
Public Property ThumbnailLoading As Boolean
'Usage
 
Dim instance As ImGearLoadOptions
Dim value As Boolean
 
instance.ThumbnailLoading = value
 
value = instance.ThumbnailLoading
public bool ThumbnailLoading {get; set;}
public: __property bool get_ThumbnailLoading();
public: __property void set_ThumbnailLoading( 
   bool value
);
public:
property bool ThumbnailLoading {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks
Use this property if you need to load an image thumbnail. This will only work for file formats that support storing a thumbnail, and when thumbnail is actually stored as a part of an image. Otherwise, ImageGear will throw ImGearException with error code ImageGear.Core.ImGearErrorCodes.THUMBNAIL_NOT_PRESENT. In this case, load the entire image and create a thumbnail using ImageGear.Processing.ImGearProcessing.CreateThumbnail method.

The default value is false.

See Also

Reference

ImGearLoadOptions Class
ImGearLoadOptions Members