LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)
LEAD Technologies, Inc

GetAngleText Method


The angle value in unit.
The precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.
The unit of angle.
The unit abbreviation to use.
Gets the text to use for the given angle.
Syntax
 function Leadtools.Annotations.Rendering.AnnProtractorObjectRenderer.getAngleText( 
   angle ,
   precision ,
   unit ,
   unitsAbbreviation 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

Parameters

ParameterTypeDescription
angledoubleThe angle value in unit.
precisiondoubleThe precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.
unitAnnAngularUnitThe unit of angle.
unitsAbbreviationDictionary<AnnAngularUnit,string>The unit abbreviation to use.
Remarks

This method is called by the renderer to get the text to use for the angle. Derived classes can override this method to provide their own implementation.

See Also

Reference

AnnProtractorObjectRenderer Object
AnnProtractorObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices

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