C#
VB
C++
Gets the length of the ruler between two points.
public static AnnLength GetRulerLength(
AnnPoint startPoint,
AnnPoint endPoint,
AnnUnit measurementUnit,
AnnUnitConverter converter
)
Public Shared Function GetRulerLength( _
ByVal startPoint As Leadtools.Annotations.AnnPoint, _
ByVal endPoint As Leadtools.Annotations.AnnPoint, _
ByVal measurementUnit As Leadtools.Annotations.AnnUnit, _
ByVal converter As Leadtools.Annotations.AnnUnitConverter _
) As Leadtools.Annotations.AnnLength
public:
static Leadtools.Annotations.AnnLength GetRulerLength(
Leadtools.Annotations.AnnPoint startPoint,
Leadtools.Annotations.AnnPoint endPoint,
Leadtools.Annotations.AnnUnit measurementUnit,
Leadtools.Annotations.AnnUnitConverter^ converter
)
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.
The length of the ruler in measurementUnit units
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET