←Select platform

GetAngleText Method (AnnD2DProtractorObjectRenderer)

Summary

Gets the text to use for the given angle.

Syntax

C#
VB
WinRT C#
public virtual string GetAngleText(  
   double angle, 
   double precision, 
   Leadtools.Annotations.Core.AnnAngularUnit unit, 
   Dictionary<AnnAngularUnit,string> unitsAbbreviation 
) 
Public Overridable Function GetAngleText( _ 
   ByVal angle As Double, _ 
   ByVal precision As Double, _ 
   ByVal unit As Leadtools.Annotations.Core.AnnAngularUnit, _ 
   ByVal unitsAbbreviation As Dictionary(Of AnnAngularUnit,String) _ 
) As String 
public virtual string GetAngleText(  
   double angle, 
   double precision, 
   Leadtools.Annotations.Core.AnnAngularUnit unit, 
   Dictionary<AnnAngularUnit,string> unitsAbbreviation 
) 
 function Leadtools.Annotations.Rendering.AnnD2DProtractorObjectRenderer.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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly