Class DimensionStyleTolerances
Represents the way tolerances are formatted in dimension entities
Inheritance
Implements
Inherited Members
Namespace: netDxf.Tables
Assembly: CADability.dll
Syntax
public class DimensionStyleTolerances : ICloneable
Constructors
| Improve this Doc View SourceDimensionStyleTolerances()
Initializes a new instance of the TolerancesFormat class.
Declaration
public DimensionStyleTolerances()
Properties
| Improve this Doc View SourceAlternatePrecision
Gets or sets the number of decimal places of the tolerance alternate units. (DIMALTTD)
Declaration
public short AlternatePrecision { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int16 |
Remarks
Default: 2
It is recommended to use values in the range 0 to 8.
AlternateSuppressLinearLeadingZeros
Suppresses leading zeros in linear decimal alternate tolerance units. (DIMALTTZ)
Declaration
public bool AlternateSuppressLinearLeadingZeros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMALTTZ variable.
AlternateSuppressLinearTrailingZeros
Suppresses trailing zeros in linear decimal alternate tolerance units. (DIMALTTZ)
Declaration
public bool AlternateSuppressLinearTrailingZeros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMALTTZ variable.
AlternateSuppressZeroFeet
Suppresses zero feet in architectural alternate tolerance units. (DIMALTTZ)
Declaration
public bool AlternateSuppressZeroFeet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMALTTZ variable.
AlternateSuppressZeroInches
Suppresses zero inches in architectural alternate tolerance units. (DIMALTTZ)
Declaration
public bool AlternateSuppressZeroInches { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMALTTZ variable.
DisplayMethod
Gets or sets the method for calculating the tolerance. (DIMTOL)
Declaration
public DimensionStyleTolerancesDisplayMethod DisplayMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| DimensionStyleTolerancesDisplayMethod |
Remarks
Default: None
LowerLimit
Gets or sets the minimum or lower tolerance value. (DIMTM)
Declaration
public double LowerLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
Default: 0.0
Precision
Gets or sets the number of decimal places. (DIMTDEC)
Declaration
public short Precision { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int16 |
Remarks
Default: 4
It is recommended to use values in the range 0 to 8.
SuppressLinearLeadingZeros
Suppresses leading zeros in linear decimal tolerance units. (DIMTZIN)
Declaration
public bool SuppressLinearLeadingZeros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMTZIN variable.
SuppressLinearTrailingZeros
Suppresses trailing zeros in linear decimal tolerance units. (DIMTZIN)
Declaration
public bool SuppressLinearTrailingZeros { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMTZIN variable.
SuppressZeroFeet
Suppresses zero feet in architectural tolerance units. (DIMTZIN)
Declaration
public bool SuppressZeroFeet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMTZIN variable.
SuppressZeroInches
Suppresses zero inches in architectural tolerance units. (DIMTZIN)
Declaration
public bool SuppressZeroInches { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This value is part of the DIMTZIN variable.
UpperLimit
Gets or sets the maximum or upper tolerance value. When you select Symmetrical in DisplayMethod, this value is used for the tolerance. (DIMTP)
Declaration
public double UpperLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
Default: 0.0
VerticalPlacement
Gets or sets the text vertical placement for symmetrical and deviation tolerances. (DIMTOLJ)
Declaration
public DimensionStyleTolerancesVerticalPlacement VerticalPlacement { get; set; }
Property Value
| Type | Description |
|---|---|
| DimensionStyleTolerancesVerticalPlacement |
Remarks
Default: Middle
Methods
| Improve this Doc View SourceClone()
Creates a new DimensionStyle.TolerancesFormat that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new |