ImageGear .NET
ItemBeforeLoad Event (ImGearThumbnailCtl)




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
PageGets 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

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members
ImGearThumbnailBeforeLoadEventHandler Delegate

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback