Click or drag to resize

Insert Class

Represents a block insertion entity.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class Insert : EntityObject

The Insert type exposes the following members.

Constructors
  NameDescription
Public methodInsert(Block)
Initializes a new instance of the Insert class.
Public methodInsert(Block, Vector2)
Initializes a new instance of the Insert class.
Public methodInsert(Block, Vector3)
Initializes a new instance of the Insert class.
Top
Properties
  NameDescription
Public propertyAttributes
Gets the insert list of attributes.
Public propertyBlock
Gets the insert block definition.
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the entity color.
(Inherited from EntityObject.)
Public propertyColumnCount
Column count (optional; default = 1)
Public propertyColumnSpacing
Column spacing (optional; default = 0)
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 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 propertyNormal
Gets or sets the entity normal.
(Inherited from EntityObject.)
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from EntityObject.)
Public propertyPosition
Gets or sets the position in world coordinates.
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 insert rotation along the normal vector in degrees.
Public propertyRowCount
Row count (optional; default = 1)
Public propertyRowSpacing
Row spacing (optional; default = 0)
Public propertyScale
Gets or sets the insert scale.
Public propertyTransparency
Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject.)
Public propertyType
Gets the entity type.
(Inherited from EntityObject.)
Public propertyXData
Gets or sets the entity extended data.
(Inherited from EntityObject.)
Top
Methods
  NameDescription
Public methodClone
Creates a new Insert that is a copy of the current instance.
(Overrides EntityObjectClone.)
Public methodExplode
Decompose the actual insert in its internal entities.
Public methodSync
Updates the actual insert with the attribute properties currently defined in the block. This does not affect any values assigned to attributes in each block.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject.)
Public methodTransformAttributes
Recalculate the attributes position, normal, rotation, text height, width factor, and oblique angle from the values applied to the insertion.
Top
See Also