Visual Basic (Declaration) | |
---|---|
Public Overloads Sub CalibrateRuler( _ ByVal distance As Double, _ ByVal measurementUnit As MedicalViewerMeasurementUnit, _ ByVal subCellIndex As Integer, _ ByVal axis As MedicalViewerCalibrationAxis _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void CalibrateRuler( double distance, MedicalViewerMeasurementUnit measurementUnit, int subCellIndex, MedicalViewerCalibrationAxis axis ) |
C++/CLI | |
---|---|
public: void CalibrateRuler( double distance, MedicalViewerMeasurementUnit measurementUnit, int subCellIndex, MedicalViewerCalibrationAxis axis ) |
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.
- axis
- The calibration axis.
For an example, refer to 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