LEADTOOLS Medical (Leadtools.Dicom.Web assembly)
LEAD Technologies, Inc

SetCellRequestedImage Method






The path of the Leadtools.Dicom.DicomDataSet which contains the image.
The Study Instance UID System.String for the DICOM instance displayed in the cell.
The Series Instance UID System.String for the DICOM instance displayed in the cell.
The SOP Instance UID System.String for the image displayed in the cell.
A 0-based System.Int32 value representing the actual index of the image in the original dataSetPath.
The Leadtools.MedicalViewer.MedicalViewerMultiCell requesting the image.
A 0-based System.Int32 representing the sub cell index where the image is displayed in the cell.
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
'Declaration
 
Protected Overrides 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 _
) 
'Usage
 
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)
 function Leadtools.Dicom.Web.MedicalWebViewerLoader.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).

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MedicalWebViewerLoader Class
MedicalWebViewerLoader Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.