Leader Home

A leader object is a line with an arrowhead at one end and a multiline text object at the other.
In some cases, a short horizontal line, called a landing, connects text and feature control frames to the leader line. The landing and leader line are associated with the multiline text object, so when the landing is relocated, the content and leader line move along with it.



A leader uses dimension style to define appearance of the arrow shape, linetype, colors, text, frame around the text.
To add leader object into a drawing use following functions:

Function Meaning
lcBlockAddLeader Add leader

Leader object has properties and functions derived from base class and the following specific properties:

Property Type Access Meaning
LC_PROP_ENT_...    Base class properties
LC_PROP_LEADER_STYLE handle
string
RW Handle to dimension style
Name of dimension style
LC_PROP_LEADER_TEXT string RW Text content (See formatting codes)
LC_PROP_LEADER_ALIGN int RW Text alignment (LC_LEADER_TLEFT and other)
LC_PROP_LEADER_TPX float RW Text center point X
LC_PROP_LEADER_TPY float RW Text center point Y
LC_PROP_LEADER_APX float RW Arrow's end point X
LC_PROP_LEADER_APY float RW Arrow's end point Y
LC_PROP_LEADER_P1X float R Landing point X
LC_PROP_LEADER_P1Y float R Landing point Y
LC_PROP_LEADER_P0X float R Start point X
LC_PROP_LEADER_P0Y float R Start point Y
LC_PROP_LEADER_LDIST float RW Landing distance
LC_PROP_LEADER_VERT bool RW Vertical line
LC_PROP_LEADER_CORNER bool RW Attachment at corner
LC_PROP_LEADER_TBW float R Width of text bounding box
LC_PROP_LEADER_TBH float R Height of text bounding box

See also

  Retrieve objects