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

GetRulerLengthAsStringFromPoints 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 as a string.
Syntax
 function Leadtools.Annotations.Core.AnnProtractorObject.getRulerLengthAsStringFromPoints( 
   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
string The length of the ruler as a string based on the calibrationScale.
See Also

Reference

AnnProtractorObject Object
AnnProtractorObject Members

Error processing SSI file