Click or drag to resize

ThumbnailViewBeforeThumbnailLoad Event

Raised just before a thumbnail image is going to be created.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public event ThumbnailLoadEventHandler BeforeThumbnailLoad

Value

Type: Atalasoft.Imaging.WinControlsThumbnailLoadEventHandler
Remarks

Handle this event to override the thumbnail load process. By setting the Image property of the ThumbnailLoadEventArgs, you can load the image with customized decoder settings. If you are using a custom decoder that has a special method for obtaining thumbnails, write the thumbnail load code in this event handler.

The event can also be used to obtain a reference to the ProgressEventHandler for the image being loaded in order to show progress of each thumbnail as it's loaded.

The Cancel property of the ThumbnailLoadEventArgs can be set to true to prevent the thumbnail to be loaded into the control.

See Also