LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
TotalBytesLoaded Event
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : TotalBytesLoaded Event



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.

Syntax

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

Event Data

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.

PropertyDescription
ByteCount Gets the total number of bytes loaded for this file.

Example

This example implements this event to report the number of bytes being loaded. For an example, refer to JpipRasterImageViewer.

Remarks

This event occurs before the data gets decoded. This event can be used to show the progress of the interactive decoder.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features