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

04395efe d0b7 f7e2 e7d1 b9e0058a0abf

haplokuon edited this page May 6, 2023 · 1 revision

Leader Class

netDxf 3.0.0 Library

Represents a leader entity.

Definition

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

C#

public class Leader : EntityObject

VB

Public Class Leader
	Inherits EntityObject

C++

public ref class Leader : public EntityObject

F#

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

Constructors

Leader(IEnumerable(Vector2)) Initializes a new instance of the Leader class.
Leader(Block, IEnumerable(Vector2)) Initializes a new instance of the Leader class.
Leader(IEnumerable(Vector2), DimensionStyle) Initializes a new instance of the Leader class.
Leader(String, IEnumerable(Vector2)) Initializes a new instance of the Leader class.
Leader(ToleranceEntry, IEnumerable(Vector2)) Initializes a new instance of the Leader class.
Leader(Block, IEnumerable(Vector2), DimensionStyle) Initializes a new instance of the Leader class.
Leader(String, IEnumerable(Vector2), DimensionStyle) Initializes a new instance of the Leader class.
Leader(ToleranceEntry, IEnumerable(Vector2), DimensionStyle) Initializes a new instance of the Leader class.

Properties

Annotation Gets or sets the leader annotation entity.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
Direction Gets or sets the leader annotation direction.
Elevation Gets or sets the leader elevation.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
HasHookline Gets if the leader has a hook line.
Hook Gets or sets the leader hook position (last leader vertex).
IsVisible Gets or set the entity visibility.
(Inherited from EntityObject)
Layer Gets or sets the entity layer.
(Inherited from EntityObject)
LineColor Gets or sets the leader line color if the style parameter DIMCLRD is set as BYBLOCK.
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.
Offset Gets or sets the offset from the last leader vertex (hook) to the annotation position.
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
PathType Gets or sets the way the leader is drawn.
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
ShowArrowhead Gets or sets if the arrowhead is drawn.
Style Gets or sets the leader style.
StyleOverrides Gets the dimension style overrides list.
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
Vertexes Gets the leader vertexes list in local coordinates.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new Leader 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)
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 leader entity to reflect the latest changes made to its properties.

Events

AnnotationAdded  
AnnotationRemoved  
DimensionStyleOverrideAdded  
DimensionStyleOverrideRemoved  
LayerChanged
(Inherited from EntityObject)
LeaderStyleChanged  
LinetypeChanged
(Inherited from EntityObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally