Initializes a new instance of the
MedicalViewerOffset class with specified x and y offsets, mouse sensitivity, mouse reset, and cursor.
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.MedicalViewer
Public Sub MedicalViewerOffset4()
Dim myForm As MedicalViewerForm = GetMedicalControl()
Dim medicalViewer As MedicalViewer = myForm.Viewer
Dim offset As MedicalViewerOffset = New MedicalViewerOffset(50, 50, 100, True, Cursors.SizeAll)
Dim cell As MedicalViewerMultiCell = CType(medicalViewer.Cells(0), MedicalViewerMultiCell)
cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0)
offset.Dispose()
myForm.ShowDialog()
End Sub
using Leadtools;
using Leadtools.Codecs;
using Leadtools.MedicalViewer;
public void MedicalViewerOffset4()
{
MedicalViewerForm myForm = GetMedicalControl();
MedicalViewer medicalViewer = myForm.Viewer;
MedicalViewerOffset offset = new MedicalViewerOffset(50, 50, 100, true, Cursors.SizeAll);
MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]);
cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0);
offset.Dispose();
myForm.ShowDialog();
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.MedicalViewer
Public Sub MedicalViewerOffset4()
Dim myForm As MedicalViewerForm = GetMedicalControl()
Dim medicalViewer As MedicalViewer = myForm.Viewer
Dim offset As MedicalViewerOffset = New MedicalViewerOffset(50, 50, 100, True, Cursors.SizeAll)
Dim cell As MedicalViewerMultiCell = CType(medicalViewer.Cells(0), MedicalViewerMultiCell)
cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0)
offset.Dispose()
myForm.ShowDialog()
End Sub
using Leadtools;
using Leadtools.Codecs;
using Leadtools.MedicalViewer;
public void MedicalViewerOffset4()
{
MedicalViewerForm myForm = GetMedicalControl();
MedicalViewer medicalViewer = myForm.Viewer;
MedicalViewerOffset offset = new MedicalViewerOffset(50, 50, 100, true, Cursors.SizeAll);
MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]);
cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0);
offset.Dispose();
myForm.ShowDialog();
}
using Leadtools;
using Leadtools.Codecs;
using Leadtools.MedicalViewer;
public void MedicalViewerOffset4()
{
MedicalViewerForm myForm = GetMedicalControl();
MedicalViewer medicalViewer = myForm.Viewer;
MedicalViewerOffset offset = new MedicalViewerOffset(50, 50, 100, true, Cursors.SizeAll);
MedicalViewerMultiCell cell = (MedicalViewerMultiCell)(medicalViewer.Cells[0]);
cell.SetActionProperties(MedicalViewerActionType.Offset, offset, 0);
offset.Dispose();
myForm.ShowDialog();
}