Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Core)

GetRulerLengthFromPoints Method

Show in webframe
The starting point of the ruler.
The ending point of the ruler.
The ratio of the horizontal resolution (dots per inch or DPI) to the vertical resolution. For most images, the ratio is 1.
Gets the length of the ruler between two points.
Syntax
 function Leadtools.Annotations.Core.AnnProtractorObject.getRulerLengthFromPoints( 
   startPoint ,
   endPoint ,
   calibrationScale 
)

Parameters

ParameterTypeDescription
startPointLeadPointDThe starting point of the ruler.
endPointLeadPointDThe ending point of the ruler.
calibrationScaledoubleThe ratio of the horizontal resolution (dots per inch or DPI) to the vertical resolution. For most images, the ratio is 1.

Return Value

TypeDescription
LeadLengthD The length of the ruler based on the calibrationScale.
See Also

Reference

AnnProtractorObject Object
AnnProtractorObject Members

Error processing SSI file