Click or drag to resize

DimensionStyle Class

Represents a dimension style.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Tables
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class DimensionStyle : TableObject

The DimensionStyle type exposes the following members.

Constructors
  NameDescription
Public methodDimensionStyle
Initializes a new instance of the DimensionStyle class.
Top
Properties
  NameDescription
Public propertyAlternateScaleFactor
Alternate unit scale factor
Public propertyAngularPrecision
Controls the number of precision places displayed in angular dimensions.
Public propertyArrowSize
Controls the size of dimension line and leader line arrowheads. Also controls the size of hook lines.
Public propertyCenterMarkSize
Controls drawing of circle or arc center marks and centerlines.
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyDecimalSeparator
Specifies a single-character decimal separator to use when creating dimensions whose unit format is decimal.
Public propertyStatic memberDefault
Gets the default dimension style.
Public propertyDimAngularUnits
Gets or sets the units format for angular dimensions.
Public propertyDimArrow1
Gets or sets the arrowhead block for the first end of the dimension line.
Public propertyDimArrow2
Gets or sets the arrowhead block for the second end of the dimension line.
Public propertyDimBaselineSpacing
Controls the spacing of the dimension lines in baseline dimensions.
Public propertyDimLengthUnits
Gets or sets the units for all dimension types except angular.
Public propertyDimLineColor
Assigns colors to dimension lines, arrowheads, and dimension leader lines.
Public propertyDimLineExtend
Sets the distance the dimension line extends beyond the extension line when oblique, architectural tick, integral, or no marks are drawn for arrowheads.
Public propertyDimLineLinetype
Sets the line type of the dimension line.
Public propertyDimLineLineweight
Assigns line weight to dimension lines.
Public propertyDimLineOff
Suppresses display of the dimension line.
Public propertyDimPrefix
Specifies the text prefix for the dimension.
Public propertyDimRoundoff
Gets or sets the value to round all dimensioning distances.
Public propertyDimScaleLinear
Gets or sets a scale factor for linear dimension measurements
Public propertyDimScaleOverall
Get or set the overall scale factor applied to dimensioning variables that specify sizes, distances, or offsets.
Public propertyDimSuffix
Specifies the text suffix for the dimension.
Public propertyDIMTAD
Controls the vertical position of text in relation to the dimension line.
Public propertyDimTm
Munus tolerance
Public propertyDimToleranceDisplay
Dimension tolerance display scale factor
Public propertyDimTp
Plus tolerance
Public propertyExtLine1Linetype
Sets the line type of the first extension line.
Public propertyExtLine1Off
Suppresses display of the first extension line.
Public propertyExtLine2Linetype
Sets the line type of the second extension line.
Public propertyExtLine2Off
Suppresses display of the second extension line.
Public propertyExtLineColor
Assigns colors to extension lines, center marks, and centerlines.
Public propertyExtLineExtend
Specifies how far to extend the extension line beyond the dimension line.
Public propertyExtLineLineweight
Assigns line weight to extension lines.
Public propertyExtLineOffset
Specifies how far extension lines are offset from origin points.
Public propertyFractionalType
Gets or sets the fraction format when DIMLUNIT is set to Architectural or Fractional.
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyStatic memberIso25
Gets the ISO-25 dimension style as defined in AutoCad.
Public propertyIsReserved
Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject.)
Public propertyLeaderArrow
Gets or sets the arrowhead block for leaders.
Public propertyLengthPrecision
Sets the number of decimal places displayed for the primary units of a dimension.
Public propertyName
Gets the name of the table object.
(Inherited from TableObject.)
Public propertyOwner
Gets the owner of the actual dxf object.
Public propertySuppressAngularLeadingZeros
Suppresses leading zeros in angular decimal dimensions (for example, 0.5000 becomes .5000).
Public propertySuppressAngularTrailingZeros
Suppresses trailing zeros in angular decimal dimensions (for example, 12.5000 becomes 12.5).
Public propertySuppressLinearLeadingZeros
Suppresses leading zeros in linear decimal dimensions (for example, 0.5000 becomes .5000).
Public propertySuppressLinearTrailingZeros
Suppresses trailing zeros in linear decimal dimensions (for example, 12.5000 becomes 12.5).
Public propertySuppressZeroFeet
Suppresses zero feet in architectural dimensions.
Public propertySuppressZeroInches
Suppresses zero inches in architectural dimensions.
Public propertyTextColor
Gets or set the color of dimension text.
Public propertyTextHeight
Specifies the height of dimension text, unless the current text style has a fixed height.
Public propertyTextOffset
Sets the distance around the dimension text when the dimension line breaks to accommodate dimension text.
Public propertyTextStyle
Gets or sets the text style of the dimension.
Public propertyTextVerticalPosition
Text vertical position
Public propertyThickSize
Dimensioning tick size: 0 = No ticks
Top
Methods
  NameDescription
Public methodClone
Creates a new DimensionStyle that is a copy of the current instance.
(Overrides TableObjectClone.)
Public methodClone(String)
Creates a new DimensionStyle that is a copy of the current instance.
(Overrides TableObjectClone(String).)
Public methodCompareTo(Object)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodCompareTo(TableObject)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodEquals(Object)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodEquals(TableObject)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from TableObject.)
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultName
Default dimension style name.
Top
See Also