Leadtools.MedicalViewer Requires Medical Imaging license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetCellImage() Method
See Also  Example
Leadtools.MedicalViewer Namespace > MedicalViewerCell Class > GetCellImage Method : GetCellImage() Method



Returns a printable version of the cell.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetCellImage() As Image
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerCell
Dim value As Image
 
value = instance.GetCellImage()
C# 
public Image GetCellImage()
C++/CLI 
public:
Image GetCellImage(); 

Return Value

Image object which is the printable version of the cell.

Example

Visual BasicCopy Code
Public Sub MedicalViewerSaveCellExample()
   Dim myForm As MedicalViewerForm = GetMedicalControl()
   Dim medicalViewer As MedicalViewer = myForm.Viewer
   Dim myImage As Image = medicalViewer.Cells(0).GetCellImage()
   myImage.Save(LeadtoolsExamples.Common.ImagesPath.Path + "FirstCell.bmp")

   myForm.ShowDialog()
End Sub
C#Copy Code
public void MedicalViewerSaveCellExample() 

   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   Image myImage = medicalViewer.Cells[0].GetCellImage(); 
   myImage.Save(LeadtoolsExamples.Common.ImagesPath.Path + "FirstCell.bmp"); 
 
   myForm.ShowDialog(); 
}

Remarks

  • This method is useful whenever the user needs to save the image along with the annotations, tags, border, rulers and anything that has been drawn on the cell.
  • The user can save, print or copy the returned image.
  • For more information about the cell, refer to Medical Viewer Cells.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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