(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
public virtual LeadLengthD GetRulerLengthFromPoints( 
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
Public Overridable Function GetRulerLengthFromPoints( _
   ByVal startPoint As LeadPointD, _
   ByVal endPoint As LeadPointD, _
   ByVal calibrationScale As Double _
) As LeadLengthD
public virtual LeadLengthD GetRulerLengthFromPoints( 
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
-(double) getRulerLengthFrom:(LeadPointD) startPoint
                          to:(LeadPointD) endPoint
                       scale:(double) calibrationScale;
            
public LeadLengthD getRulerLengthFromPoints(
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
            
 function Leadtools.Annotations.Core.AnnProtractorObject.GetRulerLengthFromPoints( 
   startPoint ,
   endPoint ,
   calibrationScale 
)

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

See Also

Reference

AnnProtractorObject Class
AnnProtractorObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.