LEADTOOLS Annotations (Leadtools.Annotations assembly)

GetRulerLength Method

Show in webframe





Starting point of the ruler.
Ending point of the ruler.
Unit of measurement to use.
An AnnUnitConverter object to use when converting the units if necessary.
Gets the length of the ruler between two points.
Syntax
public static AnnLength GetRulerLength( 
   AnnPoint startPoint,
   AnnPoint endPoint,
   AnnUnit measurementUnit,
   AnnUnitConverter converter
)
'Declaration
 
Public Shared Function GetRulerLength( _
   ByVal startPoint As AnnPoint, _
   ByVal endPoint As AnnPoint, _
   ByVal measurementUnit As AnnUnit, _
   ByVal converter As AnnUnitConverter _
) As AnnLength
'Usage
 
Dim startPoint As AnnPoint
Dim endPoint As AnnPoint
Dim measurementUnit As AnnUnit
Dim converter As AnnUnitConverter
Dim value As AnnLength
 
value = AnnRulerObject.GetRulerLength(startPoint, endPoint, measurementUnit, converter)

            

            
public:
static AnnLength GetRulerLength( 
   AnnPoint startPoint,
   AnnPoint endPoint,
   AnnUnit measurementUnit,
   AnnUnitConverter^ converter
) 

Parameters

startPoint
Starting point of the ruler.
endPoint
Ending point of the ruler.
measurementUnit
Unit of measurement to use.
converter
An AnnUnitConverter object to use when converting the units if necessary.

Return Value

The length of the ruler in measurementUnit units
Requirements

Target Platforms

See Also

Reference

AnnRulerObject Class
AnnRulerObject Members

 

 


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