LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MedicalViewerCellPosition Class
See Also  Members  
Leadtools.MedicalViewer Namespace : MedicalViewerCellPosition Class



The MedicalViewerCellPosition Class is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Represents a class that is used to indicate the row and column position of the cell inside the Leadtools.MedicalViewer control.

Object Model

MedicalViewerCellPosition Class

Syntax

Visual Basic (Declaration) 
Public Class MedicalViewerCellPosition 
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerCellPosition
C# 
public class MedicalViewerCellPosition 
C++/CLI 
public ref class MedicalViewerCellPosition 

Example

This example shows statistics about the medical viewer and the first cell.

Visual BasicCopy Code
Private Sub GetStatisticalInformation(ByVal cell As MedicalViewerMultiCell)
   Console.WriteLine("Number of actions that have been added to the medical viewer = " & cell.ActionCount)
   Console.WriteLine("The coordinates of the first cell are : " & cell.Location.X & ", " & cell.Location.Y & ", " & cell.Size.Width & ", " & cell.Size.Height)
   Console.WriteLine("The Position in term of row / columns of the first cell is : " & cell.Position.Row & ", " & cell.Position.Column)
End Sub



Public Sub MedicalViewerStatisticsExample()
   Dim form As MainForm2 = New MainForm2()
   GetStatisticalInformation((CType(form._medicalViewer.Cells(0), MedicalViewerMultiCell)))
   form.ShowDialog()
End Sub
C#Copy Code
void GetStatisticalInformation(MedicalViewerMultiCell cell)
{
   Console.WriteLine("Number of actions that have been added to the medical viewer = " + cell.ActionCount);
   Console.WriteLine("The coordinates of the first cell are : " + cell.Location.X + ", " + cell.Location.Y + ", " + cell.Size.Width + ", " + cell.Size.Height);
   Console.WriteLine("The Position in term of row / columns of the first cell is : " + cell.Position.Row + ", " + cell.Position.Column);
}



public void MedicalViewerStatisticsExample()
{
   MainForm2 form = new MainForm2();
   GetStatisticalInformation(((MedicalViewerMultiCell)form._medicalViewer.Cells[0]));
   form.ShowDialog();
}

Inheritance Hierarchy

System.Object
   Leadtools.MedicalViewer.MedicalViewerCellPosition

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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