ImageGear for .NET
ItemBeforeLoad Event (ImGearThumbnailCtl)




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
[CategoryAttribute("Item")]
public event ImGearThumbnailBeforeLoadEventHandler ItemBeforeLoad
[CategoryAttribute("Item")]
public: __event ImGearThumbnailBeforeLoadEventHandler* ItemBeforeLoad
[CategoryAttribute("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
Page Gets ImageGear.Core.ImGearPage class object containing full-sized picture that was used to create a thumbnail.
PageNumber Gets page number of the currently loaded thumbnail.
Skip Gets or sets a value indicating whether or not to load thumbnail into a control.
Source 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

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members
ImGearThumbnailItemEventHandler Delegate

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback