ImageGear .NET - Updated
ItemBeforeLoad Event (ImGearThumbnailCtl)




ImageGear24.Wpf Assembly > ImageGear.WPF Namespace > ImGearThumbnailCtl Class : ItemBeforeLoad Event
This event is called during the process of creating a thumbnail item.
Syntax
'Declaration
 
Public Event ItemBeforeLoad As ImGearThumbnailBeforeLoadEventHandler
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim handler As ImGearThumbnailBeforeLoadEventHandler
 
AddHandler instance.ItemBeforeLoad, handler
public event ImGearThumbnailBeforeLoadEventHandler ItemBeforeLoad
public: __event ImGearThumbnailBeforeLoadEventHandler* ItemBeforeLoad
public:
event ImGearThumbnailBeforeLoadEventHandler^ ItemBeforeLoad
Event Data

The event handler receives an argument of type ImGearThumbnailBeforeLoadEventArgs containing data related to this event. The following ImGearThumbnailBeforeLoadEventArgs properties provide information specific to this event.

PropertyDescription
Gets ImageGear.Core.ImGearPage object containing full-sized picture that was used to create a thumbnail.  
Gets the page number of the currently loaded thumbnail.  
Gets or sets a value indicating whether or not to load thumbnail into a control.  
Gets the path and the format of the currently loaded thumbnail.  
Remarks
This event is raised before the image has been loaded into ImageGear.Core.ImGearPage object. Your application can use this event to set the ImageGear file load handling (e.g., load scaled JPEG image) and the thumbnail image generation handling (e.g., aliasing, interpolation).
See Also