- startPoint
- Starting point of the ruler.
- endPoint
- Ending point of the ruler.
- measurementUnit
- Unit of measurement to use.
- converter
- An AnnUnitConverter object to use when converting the units if necessary.
Visual Basic (Declaration) | |
---|---|
Public Shared Function GetRulerLength( _ ByVal startPoint As AnnPoint, _ ByVal endPoint As AnnPoint, _ ByVal measurementUnit As AnnUnit, _ ByVal converter As AnnUnitConverter _ ) As AnnLength |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static AnnLength GetRulerLength( AnnPoint startPoint, AnnPoint endPoint, AnnUnit measurementUnit, AnnUnitConverter converter ) |
C++/CLI | |
---|---|
public: static AnnLength GetRulerLength( AnnPoint startPoint, AnnPoint endPoint, AnnUnit measurementUnit, AnnUnitConverter^ converter ) |
Parameters
- startPoint
- Starting point of the ruler.
- endPoint
- Ending point of the ruler.
- measurementUnit
- Unit of measurement to use.
- converter
- An AnnUnitConverter object to use when converting the units if necessary.
Return Value
The length of the ruler in measurementUnit unitsTarget Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family