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 Basic | Copy 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
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