ImageGear PDF v25.1 - Updated
ItemBeforeLoad Event (ImGearThumbnailCtl)




ImageGear.Windows.Forms Assembly > ImageGear.Windows.Forms.Thumbnails Namespace > ImGearThumbnailCtl Class : ItemBeforeLoad Event
Called during the process of creating a thumbnail item. This event is raised before the image has been loaded into ImageGear.Core.ImGearPage class object.
Syntax
'Declaration
 
<CategoryAttribute("Item")>
Public Event ItemBeforeLoad As ImGearThumbnailBeforeLoadEventHandler
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim handler As ImGearThumbnailBeforeLoadEventHandler
 
AddHandler instance.ItemBeforeLoad, handler
[Category("Item")]
public event ImGearThumbnailBeforeLoadEventHandler ItemBeforeLoad
[Category("Item")]
public: __event ImGearThumbnailBeforeLoadEventHandler* ItemBeforeLoad
[Category("Item")]
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 class object containing full-sized picture that was used to create a thumbnail.  
Gets page number of the currently loaded thumbnail.  
Gets or sets a value indicating whether or not to load thumbnail into a control.  
Gets path and format of the currently loaded thumbnail.  
Remarks
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