Show / Hide Table of Contents

Class UnitStyleFormat

Represents the parameters to convert linear and angular units to its string representation.

Inheritance
System.Object
UnitStyleFormat
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Units
Assembly: CADability.dll
Syntax
public class UnitStyleFormat

Constructors

| Improve this Doc View Source

UnitStyleFormat()

Initializes a new instance of the UnitStyleFormat class.

Declaration
public UnitStyleFormat()

Properties

| Improve this Doc View Source

AngularDecimalPlaces

Gets or sets the number of decimal places for angular units.

Declaration
public short AngularDecimalPlaces { get; set; }
Property Value
Type Description
System.Int16
| Improve this Doc View Source

DecimalSeparator

Gets or set the decimal separator.

Declaration
public string DecimalSeparator { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DegreesSymbol

Gets or set the angle degrees symbol.

Declaration
public string DegreesSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FeetInchesSeparator

Gets or sets the separator between feet and inches.

Declaration
public string FeetInchesSeparator { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FeetSymbol

Gets or set the feet symbol.

Declaration
public string FeetSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FractionHeightScale

Gets or sets the scale of fractions relative to dimension text height.

Declaration
public double FractionHeightScale { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

FractionType

Gets or sets the fraction format for architectural or fractional units.

Declaration
public FractionFormatType FractionType { get; set; }
Property Value
Type Description
FractionFormatType
Remarks

Horizontal stacking
Diagonal stacking
Not stacked (for example, 1/2)

| Improve this Doc View Source

GradiansSymbol

Gets or set the angle gradians symbol.

Declaration
public string GradiansSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

InchesSymbol

Gets or set the inches symbol.

Declaration
public string InchesSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LinearDecimalPlaces

Gets or sets the number of decimal places for linear units.

Declaration
public short LinearDecimalPlaces { get; set; }
Property Value
Type Description
System.Int16
Remarks

For architectural and fractional the precision used for the minimum fraction is 1/2^LinearDecimalPlaces.

| Improve this Doc View Source

MinutesSymbol

Gets or set the angle minutes symbol.

Declaration
public string MinutesSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RadiansSymbol

Gets or set the angle radians symbol.

Declaration
public string RadiansSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SecondsSymbol

Gets or set the angle seconds symbol.

Declaration
public string SecondsSymbol { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SuppressAngularLeadingZeros

Suppresses leading zeros in angular decimal dimensions (for example, 0.5000 becomes .5000).

Declaration
public bool SuppressAngularLeadingZeros { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SuppressAngularTrailingZeros

Suppresses trailing zeros in angular decimal dimensions (for example, 12.5000 becomes 12.5).

Declaration
public bool SuppressAngularTrailingZeros { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SuppressLinearLeadingZeros

Suppresses leading zeros in linear decimal dimensions (for example, 0.5000 becomes .5000).

Declaration
public bool SuppressLinearLeadingZeros { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SuppressLinearTrailingZeros

Suppresses trailing zeros in linear decimal dimensions (for example, 12.5000 becomes 12.5).

Declaration
public bool SuppressLinearTrailingZeros { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SuppressZeroFeet

Suppresses zero feet in architectural dimensions.

Declaration
public bool SuppressZeroFeet { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SuppressZeroInches

Suppresses zero inches in architectural dimensions.

Declaration
public bool SuppressZeroInches { get; set; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX