Image Property

Summary
Gets or sets the image that will be displayed when the cell is added to the MedicalViewerCell.
Syntax
C#
C++/CLI
public RasterImage Image { get; set; } 
            public: 
property RasterImage^ Image { 
   RasterImage^ get(); 
   void set (    RasterImage^ ); 
} 

Property Value

A Leadtools.RasterImage object that represents the image that will be displayed when the cell is added to the MedicalViewerCell.

Example

Apply some image processing commands on the image of the first cell.

C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.ImageProcessing.Core; 
 
public void MedicalViewerImageProcessingExample() 
{ 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   MultiscaleEnhancementCommand multiScale = new MultiscaleEnhancementCommand(1500, MultiscaleEnhancementCommandType.Bicubic, MultiscaleEnhancementCommandFlags.EdgeEnhancement); 
   multiScale.Run(((MedicalViewerMultiCell)(medicalViewer.Cells[0])).Image); 
   medicalViewer.Cells[0].Invalidate(); 
 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.