LEADTOOLS Medical (Leadtools.Dicom.Web assembly)

SetCellRequestedImage Method

Show in webframe



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 Leadtools.MedicalViewer.MedicalViewerMultiCell, _
   ByVal requestedsubCellIndex As Integer, _
   ByVal setImageOption As Leadtools.MedicalViewer.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 Leadtools.MedicalViewer.MedicalViewerMultiCell
Dim requestedsubCellIndex As Integer
Dim setImageOption As Leadtools.MedicalViewer.MedicalViewerSetImageOptions
 
instance.SetCellRequestedImage(dataSetPath, studyInstanceUID, seriesInstanceUID, sopInstanceUID, frameIndex, requestedCell, requestedsubCellIndex, setImageOption)
protected override void SetCellRequestedImage( 
   string dataSetPath,
   string studyInstanceUID,
   string seriesInstanceUID,
   string sopInstanceUID,
   int frameIndex,
   Leadtools.MedicalViewer.MedicalViewerMultiCell requestedCell,
   int requestedsubCellIndex,
   Leadtools.MedicalViewer.MedicalViewerSetImageOptions setImageOption
)
protected:
void SetCellRequestedImage( 
   String^ dataSetPath,
   String^ studyInstanceUID,
   String^ seriesInstanceUID,
   String^ sopInstanceUID,
   int frameIndex,
   Leadtools.MedicalViewer.MedicalViewerMultiCell^ requestedCell,
   int requestedsubCellIndex,
   Leadtools.MedicalViewer.MedicalViewerSetImageOptions setImageOption
) override 

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

See Also

Reference

MedicalWebViewerLoader Class
MedicalWebViewerLoader Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.