Show / Hide Table of Contents

Class DimensionStyleTolerances

Represents the way tolerances are formatted in dimension entities

Inheritance
System.Object
DimensionStyleTolerances
Implements
System.ICloneable
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.Tables
Assembly: CADability.dll
Syntax
public class DimensionStyleTolerances : ICloneable

Constructors

| Improve this Doc View Source

DimensionStyleTolerances()

Initializes a new instance of the TolerancesFormat class.

Declaration
public DimensionStyleTolerances()

Properties

| Improve this Doc View Source

AlternatePrecision

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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

| Improve this Doc View Source

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 Source

Clone()

Creates a new DimensionStyle.TolerancesFormat that is a copy of the current instance.

Declaration
public object Clone()
Returns
Type Description
System.Object

A new DimensionStyle.TolerancesFormat that is a copy of this instance.

Implements

System.ICloneable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX