LEADTOOLS Medical (Leadtools.Dicom.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
SetCellRequestedImage Method
See Also 
Leadtools.Dicom.Web Namespace > MedicalWebViewerLoader Class : SetCellRequestedImage Method



dataSetPath
The path of the Leadtools.Dicom.DicomDataSet which contains the image.
studyInstanceUID
The Study Instance UID System.String for the DICOM instance displayed in the cell.
seriesInstanceUID
The Series Instance UID System.String for the DICOM instance displayed in the cell.
sopInstanceUID
The SOP Instance UID System.String for the image displayed in the cell.
frameIndex
A 0-based System.Int32 value representing the actual index of the image in the original dataSetPath.
requestedCell
The Leadtools.MedicalViewer.MedicalViewerMultiCell requesting the image.
requestedsubCellIndex
A 0-based System.Int32 representing the sub cell index where the image is displayed in the cell.
setImageOption
Specifies whether to insert the image or replace the existing one
dataSetPath
The path of the Leadtools.Dicom.DicomDataSet which contains the image.
studyInstanceUID
The Study Instance UID System.String for the DICOM instance displayed in the cell.
seriesInstanceUID
The Series Instance UID System.String for the DICOM instance displayed in the cell.
sopInstanceUID
The SOP Instance UID System.String for the image displayed in the cell.
frameIndex
A 0-based System.Int32 value representing the actual index of the image in the original dataSetPath.
requestedCell
The Leadtools.MedicalViewer.MedicalViewerMultiCell requesting the image.
requestedsubCellIndex
A 0-based System.Int32 representing the sub cell index where the image is displayed in the cell.
setImageOption
Specifies whether to insert the image or replace the existing one
Overridden. Called when a series Leadtools.MedicalViewer.MedicalViewerMultiCell raises the Leadtools.MedicalViewer.MedicalViewerCell.FramesRequested to set an image for display.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub SetCellRequestedImage( _
   ByVal dataSetPath As String, _
   ByVal studyInstanceUID As String, _
   ByVal seriesInstanceUID As String, _
   ByVal sopInstanceUID As String, _
   ByVal frameIndex As Integer, _
   ByVal requestedCell As MedicalViewerMultiCell, _
   ByVal requestedsubCellIndex As Integer, _
   ByVal setImageOption As MedicalViewerSetImageOptions _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerLoader
Dim dataSetPath As String
Dim studyInstanceUID As String
Dim seriesInstanceUID As String
Dim sopInstanceUID As String
Dim frameIndex As Integer
Dim requestedCell As MedicalViewerMultiCell
Dim requestedsubCellIndex As Integer
Dim setImageOption As MedicalViewerSetImageOptions
 
instance.SetCellRequestedImage(dataSetPath, studyInstanceUID, seriesInstanceUID, sopInstanceUID, frameIndex, requestedCell, requestedsubCellIndex, setImageOption)

Parameters

dataSetPath
The path of the Leadtools.Dicom.DicomDataSet which contains the image.
studyInstanceUID
The Study Instance UID System.String for the DICOM instance displayed in the cell.
seriesInstanceUID
The Series Instance UID System.String for the DICOM instance displayed in the cell.
sopInstanceUID
The SOP Instance UID System.String for the image displayed in the cell.
frameIndex
A 0-based System.Int32 value representing the actual index of the image in the original dataSetPath.
requestedCell
The Leadtools.MedicalViewer.MedicalViewerMultiCell requesting the image.
requestedsubCellIndex
A 0-based System.Int32 representing the sub cell index where the image is displayed in the cell.
setImageOption
Specifies whether to insert the image or replace the existing one

Remarks

This method will load the requested image and set it into the cell by calling the Leadtools.MedicalViewer.MedicalViewerCell.SetRequestedImage(Leadtools.RasterImage,System.Int32[],Leadtools.MedicalViewer.MedicalViewerSetImageOptions).

IF the image is not streamed form the WCF service the MedicalWebViewerLoader will display a thumbnail of the image instead.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also