LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

CalibrateRuler(Double,MedicalViewerMeasurementUnit,Int32) Method

Show in webframe





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
) 

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

See Also

Reference

MedicalViewerMultiCell Class
MedicalViewerMultiCell Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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