Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

f175d029 9840 be3c 8cb2 e682594c78f8

haplokuon edited this page May 6, 2023 · 1 revision

UnitStyleFormat Class

netDxf 3.0.0 Library

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

Definition

Namespace: netDxf.Units
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class UnitStyleFormat

VB

Public Class UnitStyleFormat

C++

public ref class UnitStyleFormat

F#

type UnitStyleFormat = class end
Inheritance Object → UnitStyleFormat

Constructors

UnitStyleFormat Initializes a new instance of the UnitStyleFormat class.

Properties

AngularDecimalPlaces Gets or sets the number of decimal places for angular units.
DecimalSeparator Gets or set the decimal separator.
DegreesSymbol Gets or set the angle degrees symbol.
FeetInchesSeparator Gets or sets the separator between feet and inches.
FeetSymbol Gets or set the feet symbol.
FractionHeightScale Gets or sets the scale of fractions relative to dimension text height.
FractionType Gets or sets the fraction format for architectural or fractional units.
GradiansSymbol Gets or set the angle gradians symbol.
InchesSymbol Gets or set the inches symbol.
LinearDecimalPlaces Gets or sets the number of decimal places for linear units.
MinutesSymbol Gets or set the angle minutes symbol.
RadiansSymbol Gets or set the angle radians symbol.
SecondsSymbol Gets or set the angle seconds symbol.
SuppressAngularLeadingZeros Suppresses leading zeros in angular decimal dimensions (for example, 0.5000 becomes .5000).
SuppressAngularTrailingZeros Suppresses trailing zeros in angular decimal dimensions (for example, 12.5000 becomes 12.5).
SuppressLinearLeadingZeros Suppresses leading zeros in linear decimal dimensions (for example, 0.5000 becomes .5000).
SuppressLinearTrailingZeros Suppresses trailing zeros in linear decimal dimensions (for example, 12.5000 becomes 12.5).
SuppressZeroFeet Suppresses zero feet in architectural dimensions.
SuppressZeroInches Suppresses zero inches in architectural dimensions.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

netDxf.Units Namespace

Clone this wiki locally