LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

GetRulerLengthAsStringFromPoints Method


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 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.