getRulerLengthFromPoints Method

Summary

Gets the length of the ruler between two points.

Syntax

JavaScript Syntax
AnnProtractorObject.prototype.getRulerLengthFromPoints = function(startPoint, endPoint, calibrationScale) 
TypeScript Syntax
getRulerLengthFromPoints(startPoint: LeadPointD, endPoint: LeadPointD, calibrationScale: number): LeadLengthD; 

Parameters

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.

Return Value

The length of the ruler based on the calibrationScale.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly