(Leadtools.Annotations.Rendering)

GetAngleText Method

Show in webframe




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
public virtual string GetAngleText( 
   double angle,
   double precision,
   AnnAngularUnit unit,
   Dictionary<AnnAngularUnit,string> unitsAbbreviation
)
public virtual string GetAngleText( 
   double angle,
   double precision,
   AnnAngularUnit unit,
   Dictionary<AnnAngularUnit,string> unitsAbbreviation
)
-(NSString*) getAngleText:(double) angle
                precision:(double) precision
                     unit:(LTAnnAngularUnit) unit
        unitsAbbreviation:(NSDictionary*) unitsAbbreviation;
            
public String getAngleText(double angle,
                           int precision,
                           AnnAngularUnit unit,
                           HashMap<AnnAngularUnit,
                           String> unitsAbbreviation)
            
 function Leadtools.Annotations.Rendering.AnnProtractorObjectRenderer.GetAngleText( 
   angle ,
   precision ,
   unit ,
   unitsAbbreviation 
)

Parameters

angle
The angle value in unit.
precision
The precision of angle. Refer to AnnProtractorObject.AnglePrecision for valid values.
unit
The unit of angle.
unitsAbbreviation
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.

Requirements

Target Platforms

See Also

Reference

AnnProtractorObjectRenderer Class
AnnProtractorObjectRenderer Members

 

 


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