LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32,MedicalViewerCalibrationAxis) Method






The new length of the annotation ruler.
The unit of measure.
The zero-based index of the sub-cell being calibrated. Pass -1 to calibrate all the sub-cells; pass -2 to calibrate the active sub-cell.
The calibration axis.
Changes the length of the selected annotation ruler according to the new unit of measure.
Syntax
'Declaration
 
Public Overloads Sub CalibrateRuler( _
   ByVal distance As Double, _
   ByVal measurementUnit As MedicalViewerMeasurementUnit, _
   ByVal subCellIndex As Integer, _
   ByVal axis As MedicalViewerCalibrationAxis _
) 
'Usage
 
Dim instance As MedicalViewerMultiCell
Dim distance As Double
Dim measurementUnit As MedicalViewerMeasurementUnit
Dim subCellIndex As Integer
Dim axis As MedicalViewerCalibrationAxis
 
instance.CalibrateRuler(distance, measurementUnit, subCellIndex, axis)
 function Leadtools.MedicalViewer.MedicalViewerMultiCell.CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32,MedicalViewerCalibrationAxis)( 
   distance ,
   measurementUnit ,
   subCellIndex ,
   axis 
)

Parameters

distance
The new length of the annotation ruler.
measurementUnit
The unit of measure.
subCellIndex
The zero-based index of the sub-cell being calibrated. Pass -1 to calibrate all the sub-cells; pass -2 to calibrate the active sub-cell.
axis
The calibration axis.
Remarks
Example
For an example, refer to MedicalViewerBaseCell.CalibrateRuler
Requirements

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

See Also

Reference

MedicalViewerMultiCell Class
MedicalViewerMultiCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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