LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32) Method






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.
Changes the length of the selected annotation ruler according to the new unit of measure.
Syntax
public void CalibrateRuler( 
   double distance,
   MedicalViewerMeasurementUnit measurementUnit,
   int subCellIndex
)
'Declaration
 
Public Overloads Sub CalibrateRuler( _
   ByVal distance As Double, _
   ByVal measurementUnit As MedicalViewerMeasurementUnit, _
   ByVal subCellIndex As Integer _
) 
'Usage
 
Dim instance As MedicalViewerMultiCell
Dim distance As Double
Dim measurementUnit As MedicalViewerMeasurementUnit
Dim subCellIndex As Integer
 
instance.CalibrateRuler(distance, measurementUnit, subCellIndex)
public void CalibrateRuler( 
   double distance,
   MedicalViewerMeasurementUnit measurementUnit,
   int subCellIndex
)
 function Leadtools.MedicalViewer.MedicalViewerMultiCell.CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32)( 
   distance ,
   measurementUnit ,
   subCellIndex 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MedicalViewerMultiCell Class
MedicalViewerMultiCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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