CalibrateRuler(double,MedicalViewerMeasurementUnit,int) Method

Summary
Changes the length of the selected annotation ruler according to the new unit of measure.
Syntax
C#
VB
C++
public void CalibrateRuler( 
   double distance, 
   MedicalViewerMeasurementUnit measurementUnit, 
   int subCellIndex 
) 
  
Public Overloads Sub CalibrateRuler( _ 
   ByVal distance As Double, _ 
   ByVal measurementUnit As MedicalViewerMeasurementUnit, _ 
   ByVal subCellIndex As Integer _ 
)  
            public: 
void CalibrateRuler(  
   double distance, 
   MedicalViewerMeasurementUnit measurementUnit, 
   int subCellIndex 
)  

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.

Remarks
Example

For an example, refer to CalibrateRuler(Double,MedicalViewerMeasurementUnit)

Requirements

Target Platforms

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

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.