LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32,MedicalViewerCalibrationAxis) Method

Show in webframe





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)

            

            

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

See Also

Reference

MedicalViewerMultiCell Class
MedicalViewerMultiCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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