Leadtools.Dicom.Web Namespace > MedicalWebViewerLoader Class : SetCellRequestedImage Method |
'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
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.