Visual Basic (Declaration) | |
---|---|
Public Overloads Sub CalibrateRuler( _ ByVal distance As Double, _ ByVal measurementUnit As MedicalViewerMeasurementUnit, _ ByVal subCellIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void CalibrateRuler( double distance, MedicalViewerMeasurementUnit measurementUnit, int subCellIndex ) |
C++/CLI | |
---|---|
public: void CalibrateRuler( double distance, MedicalViewerMeasurementUnit measurementUnit, int subCellIndex ) |
Parameters
- distance
- The new length of the annotation ruler.
- measurementUnit
- The unit of measure.
- subCellIndex
- Index of the sub-cell being calibrated. Pass -1 to calibrate all the sub-cells; pass -2 to calibrate the active sub-cell.
For an example, refer to MedicalViewerCell.CalibrateRuler(Double,MedicalViewerMeasurementUnit)
To calibrate one axis at a time use use the overloaded method CalibrateRuler For more information, refer to Working With Annotations.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family