function Leadtools.Annotations.Core.AnnProtractorObject.getRulerLengthFromPoints( startPoint , endPoint , calibrationScale )
Parameter | Type | Description |
---|---|---|
startPoint | LeadPointD | The starting point of the ruler. |
endPoint | LeadPointD | The ending point of the ruler. |
calibrationScale | double | The ratio of the horizontal resolution (dots per inch or DPI) to the vertical resolution. For most images, the ratio is 1. |
Type | Description |
---|---|
LeadLengthD | The length of the ruler based on the calibrationScale. |