←Select platform

SetCellRequestedImage Method

Summary

Overridden. Called when a series Leadtools.MedicalViewer.MedicalViewerMultiCell raises the Leadtools.MedicalViewer.MedicalViewerCell.FramesRequested to set an image for display.

Syntax

C#
VB
C++
  
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 _ 
)  
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Web Assembly