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

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

VBA class name:

AcadMLeader 

Create using:

ModelSpace.AddMLeader
PaperSpace.AddMLeader
Block.AddMLeader 

Access via:

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

A multi-leader line is an object that can be composed of an arrowhead attached to multiple 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 multi-leader line. The MLeader object specifies a complex leader line. In contrast, the MLeader 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 MLeader object and can be found using the Annotation property.

You can use various dimensioning system variables to format the multi-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.

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

Methods

ArrayPolar

ArrayRectangular

Copy

Delete

Evaluate

GetBlockAttributeValue

GetBlockAttributeValue32

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

SetBlockAttributeValue

SetBlockAttributeValue32

ScaleEntity

SetXData

TransformBy

Update

Properties

Application

ArrowheadBlock

ArrowheadSize

ArrowheadType

BlockConnectionType

ContentBlockName

ContentBlockType

Coordinate

Coordinates

Document

DogLegged

DoglegLength

Handle

HasExtensionDictionary

Hyperlinks

LandingGap

Layer

LeaderLineColor

LeaderLineType

LeaderLineWeight

LeaderType

Linetype

LinetypeScale

Lineweight

Normal

ObjectID

OwnerID

PlotStyleName

ScaleFactor

StyleName

TextBackgroundFill

TextDirection

TextHeight

TextJustify

TextLeftAttachmentType

TextLineSpacingDistance

TextLineSpacingFactor

TextLineSpacingStyle

TextRightAttachmentType

TextRotation

TextString

TextStyleName

TextWidth

TrueColor

Type

Visible

Events

Modified  

 

   Comments?