codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Leader object

An object composed of an arrowhead attached to splines or straight line segments.

VBA class name:

AcadLeader 

Create using:

ModelSpace.AddLeader
PaperSpace.AddLeader
Block.AddLeader 

Access via:

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item 

A leader line is an object that can be composed of an arrowhead attached to splines or straight line segments. In some cases, a short horizontal line, called a hook line, dogleg, or landing, connects text and feature control frames to the leader line. The Leader object specifies a complex leader line. In contrast, the Leader property of the DimDiametric and DimRadial objects specifies a simple leader line.

Any annotation attached to the end of the leader line is associated with the Leader object and can be found using the Annotation property.

You can use various dimensioning system variables to format the leader line, such as placing text above the hook line with the DIMTAD system variable. The color of the leader line and arrowhead is controlled by the Color property, or by the DIMCLRD system variable. The arrowhead types are specified by the DIMBLK, or DIMBLK1 system variables when the arrowheads vary. The arrowhead and hook line length is determined by the DIMASZ system variable. The scale is set by the DIMSCALE system variable, and the basic dimension notation is set by the DIMGAP system variable.

Examples of AutoCAD leader objects

To create a leader, use the AddLeader method. To edit or query a leader, use the following methods and properties:

Methods

ArrayPolar

ArrayRectangular

Copy

Delete

Evaluate

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update

Properties

Annotation

Application

ArrowheadBlock

ArrowheadSize

ArrowheadType

Coordinate

Coordinates

Document

DimensionLineColor

Handle

HasExtensionDictionary

Hyperlinks

Layer

Linetype

LinetypeScale

Lineweight

Normal

ObjectID

OwnerID

PlotStyleName

ScaleFactor

StyleName

TextGap

TrueColor

Type

VerticalTextPosition

Visible

Events

Modified  

 

   Comments?