Leadtools.MedicalViewer Namespace > MedicalViewerCell Class : Image Property |
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 RasterImage Image {get; set;}
get_Image();
set_Image(value);
public: property RasterImage^ Image { RasterImage^ get(); void set ( RasterImage^ value); }
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
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(); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2