'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.
Property | Description |
---|---|
Page | Gets ImageGear.Core.ImGearPage object containing full-sized picture that was used to create a thumbnail. |
PageNumber | Gets the page number of the currently loaded thumbnail. |
Skip | Gets or sets a value indicating whether or not to load thumbnail into a control. |
ThumbnailSource | 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