Leadtools.Dicom.Web Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ProgressState Event
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerStreamer Class : ProgressState Event



Provide information for the current state of the streaming process.

Syntax

Visual Basic (Declaration) 
Public Event ProgressState() As ProgressEventHandler
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerStreamer
Dim handler As ProgressEventHandler
 
AddHandler instance.ProgressState, handler
C# 
public event ProgressEventHandler ProgressState()
C++/CLI 
public:
event ProgressEventHandler^ ProgressState();

Event Data

The event handler receives an argument of type ProgressEventArgs containing data related to this event. The following ProgressEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or Sets a value to abort the current operation.
Message Gets the textual message specifying the current operation state.
Percentage Gets the current percentage of the progress.

Example

Please check our Medical Web Viewer demo, located in WinForms.csproj project.

Remarks

This event is raised regularly during the streaming process to provide information about the current state.

The event give the user a chance to cancel the streaming process using the ProgressEventArgs

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

ProgressState requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features