Leadtools.MedicalViewer Namespace : MedicalViewerCellPosition Class |
public class MedicalViewerCellPosition
'Declaration Public Class MedicalViewerCellPosition
'Usage Dim instance As MedicalViewerCellPosition
public sealed class MedicalViewerCellPosition
function Leadtools.MedicalViewer.MedicalViewerCellPosition()
public ref class MedicalViewerCellPosition
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
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(); }
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