Click or drag to resize

LinearDimension Class

Represents a linear or rotated dimension entity.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class LinearDimension : Dimension

The LinearDimension type exposes the following members.

Constructors
  NameDescription
Public methodLinearDimension
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Line, Double, Double)
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Line, Double, Double, DimensionStyle)
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Line, Double, Double, Vector3)
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Vector2, Vector2, Double, Double)
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Line, Double, Double, Vector3, DimensionStyle)
Initializes a new instance of the LinearDimension class.
Public methodLinearDimension(Vector2, Vector2, Double, Double, DimensionStyle)
Initializes a new instance of the LinearDimension class.
Top
Properties
  NameDescription
Public propertyAttachmentPoint
Gets or sets the dimension text attachment point.
(Inherited from Dimension.)
Public propertyBlock
Gets the block that contains the entities that make up the dimension picture.
(Inherited from Dimension.)
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the entity color.
(Inherited from EntityObject.)
Public propertyDimensionType
Gets the dimension type.
(Inherited from Dimension.)
Public propertyElevation
Gets or sets the dimension elevation, its position along its normal.
(Inherited from Dimension.)
Public propertyFirstReferencePoint
Gets or sets the first definition point of the dimension in OCS (object coordinate system).
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyIsVisible
Gets or set the entity visibility.
(Inherited from EntityObject.)
Public propertyLayer
Gets or sets the entity layer.
(Inherited from EntityObject.)
Public propertyLineSpacingFactor
Gets or sets the dimension text line spacing factor.
(Inherited from Dimension.)
Public propertyLineSpacingStyle
Get or sets the dimension text line spacing style.
(Inherited from Dimension.)
Public propertyLinetype
Gets or sets the entity line type.
(Inherited from EntityObject.)
Public propertyLinetypeScale
Gets or sets the entity line type scale.
(Inherited from EntityObject.)
Public propertyLineweight
Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer). Valid value are: 0, 5, 9, 13, 15, 18, 20, 25, 30, 35, 40, 50, 53, 60, 70, 80, 90, 100, 106, 120, 140, 158, 200, and 211.
(Inherited from EntityObject.)
Public propertyMeasurement
Gets the actual measurement.
(Overrides DimensionMeasurement.)
Public propertyNormal
Gets or sets the entity normal.
(Inherited from EntityObject.)
Public propertyOffset
Gets or sets the distance between the mid point of the reference line and the dimension line.
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from EntityObject.)
Public propertyReactors
Gets or sets the list of dxf objects that has been attached to this entity.
(Inherited from EntityObject.)
Public propertyRotation
Gets or sets the rotation of the dimension line.
Public propertySecondReferencePoint
Gets or sets the second definition point of the dimension in OCS (object coordinate system).
Public propertyStyle
Gets or sets the style associated with the dimension.
(Inherited from Dimension.)
Public propertyStyleOverrides
Gets the dimension style overrides list.
(Inherited from Dimension.)
Public propertyTransparency
Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject.)
Public propertyType
Gets the entity type.
(Inherited from EntityObject.)
Public propertyUserText
Gets or sets the dimension text explicitly.
(Inherited from Dimension.)
Public propertyXData
Gets or sets the entity extended data.
(Inherited from EntityObject.)
Top
Methods
  NameDescription
Public methodClone
Creates a new LinearDimension that is a copy of the current instance.
(Overrides EntityObjectClone.)
Public methodSetDimensionLinePosition
Calculates the dimension offset from a point along the dimension line.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject.)
Public methodUpdate
Rebuilds the block definition of the actual dimension.
(Inherited from Dimension.)
Top
See Also