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




returns a printable version of the cell.

Syntax

Visual Basic (Declaration) 
Public Function GetCellImage() As Image
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerCell
Dim value As Image
 
value = instance.GetCellImage()
C# 
public Image GetCellImage()
Managed Extensions for 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("C:\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("C:\\FirstCell.bmp"); 
 
   myForm.ShowDialog(); 
}

Remarks

  • This method is usefull in case the user needs the save the image along with the annotions, 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 toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features