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

39eb79cd f9f4 b4b0 b377 60f464908822

haplokuon edited this page May 6, 2023 · 1 revision

Dimension Class

netDxf 3.0.0 Library

Represents the base class for a dimension entity.

Definition

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

C#

public abstract class Dimension : EntityObject

VB

Public MustInherit Class Dimension
	Inherits EntityObject

C++

public ref class Dimension abstract : public EntityObject

F#

[<AbstractClassAttribute>]
type Dimension = 
    class
        inherit EntityObject
    end
Inheritance Object → DxfObjectEntityObject → Dimension
Derived netDxf.Entities.AlignedDimension
netDxf.Entities.Angular2LineDimension
netDxf.Entities.Angular3PointDimension
netDxf.Entities.ArcLengthDimension
netDxf.Entities.DiametricDimension
netDxf.Entities.LinearDimension
netDxf.Entities.OrdinateDimension
netDxf.Entities.RadialDimension

Properties

AttachmentPoint Gets or sets the dimension text attachment point.
Block Gets the block that contains the entities that make up the dimension picture.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
DimensionType Gets the dimension type.
Elevation Gets or sets the dimension elevation, its position along its normal.
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.
LineSpacingStyle Get or sets the dimension text line spacing style.
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.
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
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)
Style Gets or sets the style associated with the dimension.
StyleOverrides Gets the dimension style overrides list.
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.
TextReferencePoint Gets or sets the text reference position, the middle point of dimension text in local coordinates.
TextRotation Gets or sets the rotation angle in degrees of the dimension text away from its default orientation(the direction of the dimension line).
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.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new entity that is a copy of the current instance.
(Inherited from EntityObject)
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)
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.
(Inherited from EntityObject)
Update Updates the internal data of the dimension and if needed it rebuilds the block definition of the actual dimension.

Events

DimensionBlockChanged  
DimensionStyleChanged  
DimensionStyleOverrideAdded  
DimensionStyleOverrideRemoved  
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