The TotalBytesLoaded Event includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Event that occurs when an image or meta data is being loaded, to report the total number of bytes being loaded.Visual Basic (Declaration) | |
---|---|
Public Event TotalBytesLoaded As EventHandler(Of TotalBytesLoadedEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As JpipRasterImageViewer Dim handler As EventHandler(Of TotalBytesLoadedEventArgs) AddHandler instance.TotalBytesLoaded, handler |
C# | |
---|---|
public event EventHandler<TotalBytesLoadedEventArgs> TotalBytesLoaded |
C++/CLI | |
---|---|
public: event EventHandler<TotalBytesLoadedEventArgs^>^ TotalBytesLoaded |
The event handler receives an argument of type TotalBytesLoadedEventArgs containing data related to this event. The following TotalBytesLoadedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ByteCount | Gets the total number of bytes loaded for this file. |
This example implements this event to report the number of bytes being loaded. For an example, refer to JpipRasterImageViewer.
This event occurs before the data gets decoded. This event can be used to show the progress of the interactive decoder.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7