LEADTOOLS WinRT (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. WinRT support
Syntax
public virtual 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnProtractorObject Class
AnnProtractorObject Members

 

 


Products | Support | Contact Us | Copyright Notices

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