Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

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
public virtual string GetRulerLengthAsStringFromPoints( 
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
'Declaration
 
Public Overridable Function GetRulerLengthAsStringFromPoints( _
   ByVal startPoint As LeadPointD, _
   ByVal endPoint As LeadPointD, _
   ByVal calibrationScale As Double _
) As String
public virtual string GetRulerLengthAsStringFromPoints( 
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
-(NSString*) getRulerLengthAsStringFrom:(LeadPointD) startPoint
                                     to:(LeadPointD) endPoint
                                  scale:(double) calibrationScale;
            
public String getRulerLengthAsStringFromPoints(
   LeadPointD startPoint,
   LeadPointD endPoint,
   double calibrationScale
)
            
 function Leadtools.Annotations.Core.AnnProtractorObject.GetRulerLengthAsStringFromPoints( 
   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 as a string based on the calibrationScale.
Requirements

Target Platforms

See Also

Reference

AnnProtractorObject Class
AnnProtractorObject Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features