Error processing SSI file
LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

Show in webframe

MedicalViewerCellPosition Class






Members 
Represents a class that is used to indicate the row and column position of the cell inside the Leadtools.MedicalViewer control.
Object Model
Syntax
public class MedicalViewerCellPosition
'Declaration   Public Class MedicalViewerCellPosition
'Usage   Dim instance As MedicalViewerCellPosition
public ref class MedicalViewerCellPosition
Example

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

Copy Code  
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.MedicalViewer

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


<TestMethod()> _
Public Sub MedicalViewerStatisticsExample()
    Dim form As MainForm2 = New MainForm2()
    GetStatisticalInformation((CType(form._medicalViewer.Cells(0), MedicalViewerMultiCell)))
    form.ShowDialog()
End Sub
using Leadtools;
using Leadtools.Codecs;
using Leadtools.MedicalViewer;

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);
}


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

Target Platforms

See Also

Reference

MedicalViewerCellPosition Members
Leadtools.MedicalViewer Namespace

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