LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

Image Property (MedicalViewerCell)

Show in webframe





Gets or sets the image that will be displayed when the cell is added to the MedicalViewerCell.
Syntax
public RasterImage Image {get; set;}
'Declaration
 
Public Property Image As RasterImage
'Usage
 
Dim instance As MedicalViewerCell
Dim value As RasterImage
 
instance.Image = value
 
value = instance.Image

            

            
public:
property RasterImage^ Image {
   RasterImage^ get();
   void set (    RasterImage^ value);
}

Property Value

A Leadtools.RasterImage object that represents the image that will be displayed when the cell is added to the MedicalViewerCell.
Example
      Imports Leadtools
      Imports Leadtools.Codecs
      Imports Leadtools.MedicalViewer
      Imports Leadtools.ImageProcessing.Core

      Public Sub MedicalViewerImageProcessingExample()
         Dim myForm As MedicalViewerForm = GetMedicalControl()
         Dim medicalViewer As MedicalViewer = myForm.Viewer
         Dim multiScale As MultiscaleEnhancementCommand = New MultiscaleEnhancementCommand(1500, MultiscaleEnhancementCommandType.Bicubic, MultiscaleEnhancementCommandFlags.EdgeEnhancement)
         multiScale.Run((CType(medicalViewer.Cells(0), MedicalViewerMultiCell)).Image)
         medicalViewer.Cells(0).Invalidate()

         myForm.ShowDialog()
      End Sub      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();
      }
      Imports Leadtools
      Imports Leadtools.Codecs
      Imports Leadtools.MedicalViewer
      Imports Leadtools.ImageProcessing.Core

      Public Sub MedicalViewerImageProcessingExample()
         Dim myForm As MedicalViewerForm = GetMedicalControl()
         Dim medicalViewer As MedicalViewer = myForm.Viewer
         Dim multiScale As MultiscaleEnhancementCommand = New MultiscaleEnhancementCommand(1500, MultiscaleEnhancementCommandType.Bicubic, MultiscaleEnhancementCommandFlags.EdgeEnhancement)
         multiScale.Run((CType(medicalViewer.Cells(0), MedicalViewerMultiCell)).Image)
         medicalViewer.Cells(0).Invalidate()

         myForm.ShowDialog()
      End Sub      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();
      }
      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

See Also

Reference

MedicalViewerCell Class
MedicalViewerCell Members

 

 


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

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features