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 ) |
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family