←Select platform

CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32) 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, 
   Leadtools.Medicalviewer.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MedicalViewer Assembly
Click or drag to resize