Click or drag to resize

NumericTextConverterAngleDegreeToText Method

Converts an angle value (Degree) to a string in "degrees-minutes-seconds" or other notation.

Namespace:  RootPro.RootProCAD.Geometry
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract string AngleDegreeToText(
	double angleDegreeValue,
	AngleUnitFormatType formatType,
	int precision,
	string dText,
	bool visibleZero,
	bool aboveZeroVisible,
	bool angleDMZeroVisible,
	bool angleMSZeroVisible,
	bool angleMS2Width
)

Parameters

angleDegreeValue
Type: SystemDouble
Angle value (Degree)
formatType
Type: RootPro.RootProCADAngleUnitFormatType
Notation type AngleUnitFormatType .
precision
Type: SystemInt32
Angular notation precision 0 ... 8, 0 ... 6 for degrees and minutes: 0 ... 6 [0: degrees, 1: degrees, 2: degrees minutes, 3: Degrees minute and second. 0, 4: Degrees minute and second., 00 ,,,
dText
Type: SystemString
Degree sign character (if empty: "°")
visibleZero
Type: SystemBoolean
"Display zeroes following the right of decimal" flag
aboveZeroVisible
Type: SystemBoolean
"Display zero before decimal" flag
angleDMZeroVisible
Type: SystemBoolean
"Show zero or degree minute flag"
angleMSZeroVisible
Type: SystemBoolean
"Display zero second or second" flag
angleMS2Width
Type: SystemBoolean
Flag of minutes and seconds is 2 flag false: width 1 true: width 2 ex.1 -> 01, 0 -> 00

Return Value

Type: String
a string in the specified notation (empty in case of error).
See Also