public class MedicalViewerCellPosition
Public Class MedicalViewerCellPosition
public ref class MedicalViewerCellPosition
This example shows statistics about the medical viewer and the first cell.
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);
}
public void MedicalViewerStatisticsExample()
{
MainForm2 form = new MainForm2();
GetStatisticalInformation(((MedicalViewerMultiCell)form._medicalViewer.Cells[0]));
form.ShowDialog();
}
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
Public Sub MedicalViewerStatisticsExample()
Dim form As MainForm2 = New MainForm2()
GetStatisticalInformation((CType(form._medicalViewer.Cells(0), MedicalViewerMultiCell)))
form.ShowDialog()
End Sub
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document