Gets the length of the ruler between two points.
public virtual LeadLengthD GetRulerLengthFromPoints(
LeadPointD startPoint,
LeadPointD endPoint,
double calibrationScale
)
Public Overridable Function GetRulerLengthFromPoints( _
ByVal startPoint As LeadPointD, _
ByVal endPoint As LeadPointD, _
ByVal calibrationScale As Double _
) As LeadLengthD
-(double) getRulerLengthFrom:(LeadPointD) startPoint
to:(LeadPointD) endPoint
scale:(double) calibrationScale;
public LeadLengthD getRulerLengthFromPoints(
LeadPointD startPoint,
LeadPointD endPoint,
double calibrationScale
)
public:
virtual LeadLengthD^ GetRulerLengthFromPoints(
LeadPointD^ startPoint,
LeadPointD^ endPoint,
double calibrationScale
)
startPoint
The starting point of the ruler.
endPoint
The ending point of the ruler.
calibrationScale
The ratio of the horizontal resolution (dots per inch or DPI) to the vertical resolution. For most images, the ratio is 1.
The length of the ruler based on the calibrationScale.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document