CalibrateRuler(double,MedicalViewerMeasurementUnit,int,MedicalViewerCalibrationAxis) Method

Summary

Changes the length of the selected annotation ruler according to the new unit of measure.

Syntax
C#
VB
C++
  
Public Overloads Sub CalibrateRuler( _ 
   ByVal distance As Double, _ 
   ByVal measurementUnit As MedicalViewerMeasurementUnit, _ 
   ByVal subCellIndex As Integer, _ 
   ByVal axis As MedicalViewerCalibrationAxis _ 
)  
            public: 
void CalibrateRuler(  
   double distance, 
   MedicalViewerMeasurementUnit measurementUnit, 
   int subCellIndex, 
   MedicalViewerCalibrationAxis 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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly