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

8ead2083 3b75 10dd 6534 c3d0524a7faf

haplokuon edited this page May 6, 2023 · 1 revision

Insert Class

netDxf 3.0.0 Library

Represents a block insertion entity.

Definition

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

C#

public class Insert : EntityObject

VB

Public Class Insert
	Inherits EntityObject

C++

public ref class Insert : public EntityObject

F#

type Insert = 
    class
        inherit EntityObject
    end
Inheritance Object → DxfObjectEntityObject → Insert

Constructors

Insert(Block) Initializes a new instance of the Insert class.
Insert(Block, Vector2) Initializes a new instance of the Insert class.
Insert(Block, Vector3) Initializes a new instance of the Insert class.

Properties

Attributes Gets the insert list of attributes.
Block Gets the insert block definition.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
DefaultInsUnits Gets or sets the default drawing units to obtain the Insert transformation matrix, when the current Insert entity does not belong to a DXF document.
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)
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)
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
Position Gets or sets the position in world coordinates.
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
Rotation Gets or sets the insert rotation along the normal vector in degrees.
Scale Gets or sets the insert scale.
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new Insert 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)
Explode Explodes the current insert.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetTransformation() Gets the insert transformation matrix.
GetTransformation(DrawingUnits) Calculates the insertion rotation matrix.
GetType Gets the Type of the current instance.
(Inherited from Object)
Sync Updates the attribute list of the actual insert with the attribute definition list of the referenced block. This does not affect any value assigned to the Value property.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformAttributes Recalculate the attributes position, normal, rotation, height, width, width factor, oblique angle, backwards, and upside down properties from the transformation state of the insertion.
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))

Events

AttributeAdded  
AttributeRemoved  
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