←Select platform

GetAngleText Method

Summary
Gets the text to use for the given angle.
Syntax
C#
Objective-C
C++/CLI
Java
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 java.lang.String getAngleText( 
   double doubleValue  
   int intValue  
   AnnAngularUnit annAngularUnit  
   java.util.HashMap<AnnAngularUnit annAngularUnit2  
   java.lang.String> string 
); 
public:  
   virtual String^ GetAngleText( 
      double angle, 
      double precision, 
      AnnAngularUnit^ unit, 
      Dictionary<AnnAngularUnit^, String^>^ 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

Help Version 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.