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



currentStreamNumber
Reference to the number of the stream which the streamedData belongs.
state
State information to keep the object synchronized.
streamedData
The RasterImage to update the MedicalViewer control with. This is the RasterImage returned by the OnCallService method.
Overloaded. Inherited from Generic ServiceStreamer

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub UpdateUI( _
   ByVal currentStreamNumber As Integer, _
   ByVal state As Object, _
   ByVal streamedData As RasterImage _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerStreamer
Dim currentStreamNumber As Integer
Dim state As Object
Dim streamedData As RasterImage
 
instance.UpdateUI(currentStreamNumber, state, streamedData)
C# 
protected override void UpdateUI( 
   int currentStreamNumber,
   object state,
   RasterImage streamedData
)
C++/CLI 
protected:
void UpdateUI( 
   int currentStreamNumber,
   Object^ state,
   RasterImage streamedData
) override 

Parameters

currentStreamNumber
Reference to the number of the stream which the streamedData belongs.
state
State information to keep the object synchronized.
streamedData
The RasterImage to update the MedicalViewer control with. This is the RasterImage returned by the OnCallService method.

Remarks

This method will always be called in the main thread of the MedicalViewer control so it is always safe to update the UI.

Requirements

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

See Also

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