←Select platform

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 Leadtools.Medicalviewer.MedicalViewerMeasurementUnit, _ 
   ByVal subCellIndex As Integer _ 
)  
             
            public: 
void CalibrateRuler(  
   double distance, 
   Leadtools.Medicalviewer.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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly