-
-
Notifications
You must be signed in to change notification settings - Fork 164
ACadSharp.Types.Units.UnitStyleFormat
Albert Domenech edited this page Jun 25, 2025
·
1 revision
Represents the parameters to convert linear and angular units to its string representation.
Namespace: ACadSharp.Types.Units
C#
public class UnitStyleFormat| Returns | Name | Summary |
|---|---|---|
Int16 |
AngularDecimalPlaces | Gets or sets the number of decimal places for angular units. |
ZeroHandling |
AngularZeroHandling | Gets or sets the suppression of zeros in the angular values. |
String |
DecimalSeparator | Gets or set the decimal separator. |
String |
DegreesSymbol | Gets or set the angle degrees symbol. |
String |
FeetInchesSeparator | Gets or sets the separator between feet and inches. |
String |
FeetSymbol | Gets or set the feet symbol. |
Double |
FractionHeightScale | Gets or sets the scale of fractions relative to dimension text height. |
FractionFormat |
FractionType | Gets or sets the fraction format for architectural or fractional units. |
String |
GradiansSymbol | Gets or set the angle gradians symbol. |
String |
InchesSymbol | Gets or set the inches symbol. |
Int16 |
LinearDecimalPlaces | Gets or sets the number of decimal places for linear units. |
ZeroHandling |
LinearZeroHandling | Gets or sets the suppression of zeros in the linear values. |
String |
MinutesSymbol | Gets or set the angle minutes symbol. |
String |
RadiansSymbol | Gets or set the angle radians symbol. |
String |
SecondsSymbol | Gets or set the angle seconds symbol. |
Boolean |
SuppressAngularLeadingZeros | Suppresses leading zeros in angular decimal dimensions (for example, 0.5000 becomes .5000). |
Boolean |
SuppressAngularTrailingZeros | Suppresses trailing zeros in angular decimal dimensions (for example, 12.5000 becomes 12.5). |
Boolean |
SuppressLinearLeadingZeros | Suppresses leading zeros in linear decimal dimensions (for example, 0.5000 becomes .5000). |
Boolean |
SuppressLinearTrailingZeros | Suppresses trailing zeros in linear decimal dimensions (for example, 12.5000 becomes 12.5). |
Boolean |
SuppressZeroFeet | Suppresses zero feet in architectural dimensions. |
Boolean |
SuppressZeroInches | Suppresses zero inches in architectural dimensions. |
| Returns | Name | Summary |
|---|---|---|
String |
GetZeroHandlingFormat(System.Boolean) | Get the string format based on the zero handling of the style. |
String |
ToArchitectural(System.Double) | Converts a value into its feet and fractional inches string representation. |
String |
ToDecimal(System.Double, System.Boolean) | Converts a value into its decimal string representation. |
String |
ToDegreesMinutesSeconds(System.Double) | Converts an angle value in degrees into its degrees, minutes and seconds string representation. |
String |
ToEngineering(System.Double) | Converts a value into its feet and decimal inches string representation. |
String |
ToFractional(System.Double) | Converts a value into its fractional string representation. |
String |
ToGradians(System.Double) | Converts an angle value in radians into its gradians string representation. |
String |
ToRadians(System.Double) | Converts an angle value in radians into its string representation. |
String |
ToScientific(System.Double) | Converts a value into its scientific string representation. |
ACadSharp Class Library Documentation
Documentation created by NetDocGen
- ACadSharp
- ACadSharp.Attributes
- ACadSharp.Blocks
- ACadSharp.Classes
- ACadSharp.Entities
- ACadSharp.Exceptions
- ACadSharp.Extensions
- ACadSharp.Header
- ACadSharp.IO
- ACadSharp.IO.DWG
- ACadSharp.Objects
- ACadSharp.Objects.Collections
- ACadSharp.Objects.Evaluations
- ACadSharp.Tables
- ACadSharp.Tables.Collections
- ACadSharp.Types.Units
- ACadSharp.XData
- CSMath
- CSMath.Geometry
- CSUtilities.Attributes
- CSUtilities.Extensions