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

4e4607cd 707d a551 db11 da4ada532715

haplokuon edited this page May 6, 2023 · 1 revision

LinearDimension Class

netDxf 3.0.0 Library

Represents a linear or rotated dimension entity.

Definition

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

C#

public class LinearDimension : Dimension

VB

Public Class LinearDimension
	Inherits Dimension

C++

public ref class LinearDimension : public Dimension

F#

type LinearDimension = 
    class
        inherit Dimension
    end
Inheritance Object → DxfObjectEntityObjectDimension → LinearDimension

Constructors

LinearDimension() Initializes a new instance of the LinearDimension class.
LinearDimension(Line, Double, Double) Initializes a new instance of the LinearDimension class.
LinearDimension(Line, Double, Double, DimensionStyle) Initializes a new instance of the LinearDimension class.
LinearDimension(Line, Double, Double, Vector3) Initializes a new instance of the LinearDimension class.
LinearDimension(Vector2, Vector2, Double, Double) Initializes a new instance of the LinearDimension class.
LinearDimension(Line, Double, Double, Vector3, DimensionStyle) Initializes a new instance of the LinearDimension class.
LinearDimension(Vector2, Vector2, Double, Double, DimensionStyle) Initializes a new instance of the LinearDimension class.

Properties

AttachmentPoint Gets or sets the dimension text attachment point.
(Inherited from Dimension)
Block Gets the block that contains the entities that make up the dimension picture.
(Inherited from Dimension)
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
DimensionType Gets the dimension type.
(Inherited from Dimension)
DimLinePosition Gets the location of the dimension line.
Elevation Gets or sets the dimension elevation, its position along its normal.
(Inherited from Dimension)
FirstReferencePoint Gets or sets the first definition point of the dimension in OCS (object coordinate system).
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsVisible Gets or set the entity visibility.
(Inherited from EntityObject)
Layer Gets or sets the entity layer.
(Inherited from EntityObject)
LineSpacingFactor Gets or sets the dimension text line spacing factor.
(Inherited from Dimension)
LineSpacingStyle Get or sets the dimension text line spacing style.
(Inherited from Dimension)
Linetype Gets or sets the entity line type.
(Inherited from EntityObject)
LinetypeScale Gets or sets the entity line type scale.
(Inherited from EntityObject)
Lineweight Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject)
Measurement Gets the actual measurement.
(Overrides Dimension.Measurement)
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
Offset Gets or sets the distance between the mid point of the reference line and the dimension line.
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
Rotation Gets or sets the rotation of the dimension line.
SecondReferencePoint Gets or sets the second definition point of the dimension in OCS (object coordinate system).
Style Gets or sets the style associated with the dimension.
(Inherited from Dimension)
StyleOverrides Gets the dimension style overrides list.
(Inherited from Dimension)
TextPositionManuallySet Gets or sets if the text reference point has been set by the user. Set to false to reset the dimension text to its original position.
(Inherited from Dimension)
TextReferencePoint Gets or sets the text reference position, the middle point of dimension text in local coordinates.
(Inherited from Dimension)
TextRotation Gets or sets the rotation angle in degrees of the dimension text away from its default orientation(the direction of the dimension line).
(Inherited from Dimension)
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
UserText Gets or sets the dimension text explicitly.
(Inherited from Dimension)
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new LinearDimension that is a copy of the current instance.
(Overrides EntityObject.Clone())
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)
SetDimensionLinePosition Calculates the dimension offset from a point along the dimension line.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
(Inherited from EntityObject)
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
(Overrides EntityObject.TransformBy(Matrix3, Vector3))
Update Updates the internal data of the dimension and if needed it rebuilds the block definition of the actual dimension.
(Inherited from Dimension)

Events

DimensionBlockChanged
(Inherited from Dimension)
DimensionStyleChanged
(Inherited from Dimension)
DimensionStyleOverrideAdded
(Inherited from Dimension)
DimensionStyleOverrideRemoved
(Inherited from Dimension)
LayerChanged
(Inherited from EntityObject)
LinetypeChanged
(Inherited from EntityObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally