Class CadMLeaderStyleSettings
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
What the Modify Multileader Style dialog sets of a multileader style, its three tabs: Leader Format (the type, colour, linetype and lineweight of the leaders, the arrowhead and its size, the break size), Leader Structure (the most points of a leader, the angles of its segments, the landing and its distance, the scale) and Content (the type, the default text, the text style, angle, colour and height, the justification and frame, and where the leaders meet the text).
public sealed class CadMLeaderStyleSettings
- Inheritance
-
CadMLeaderStyleSettings
- Inherited Members
Remarks
A new style of the presenter is metric: arrows 2.5, break 3.75, landing 8, text 2.5 high, a landing gap of 2.
Properties
- AlwaysLeftJustify
Gets or sets whether the text is always left justified.
- Annotative
Gets or sets whether the style is annotative (group 296 of the style, as AutoCAD 2021 writes it).
- ArrowSize
Gets or sets the size of the arrowhead.
- AttachmentDirection
Gets or sets which sides of the text the leaders meet: the left and right (horizontal) or the top and bottom (vertical).
- BlockColor
Gets or sets the colour of the block.
- BlockConnection
Gets or sets where the leaders meet the block: its box (Center extents) or its insertion point.
- BlockName
Gets or sets the name of the block the leaders point to, one of the drawing's; empty for none.
- BlockScale
Gets or sets the scale of the block, the same each way.
- BottomAttachment
Gets or sets where a leader at the bottom meets the text.
- BreakSize
Gets or sets the size of the gap a leader is broken by (DIMBREAK).
- ContentType
Gets or sets what the leaders point to: words, a block (BlockName) or nothing.
- DefaultText
Gets or sets the default text; empty for none.
- ExtendLeaderToText
Gets or sets whether a leader runs on to the text (R2013 and later).
- FirstSegmentAngle
Gets or sets the angle the first segment of a leader is kept to.
- FrameText
Gets or sets whether a frame is drawn round the text.
- IncludeLanding
Gets or sets whether a leader ends in a landing.
- LandingDistance
Gets or sets the distance of the landing.
- LandingGap
Gets or sets the gap between the landing and the text.
- LeaderColor
Gets or sets the colour of the leaders.
- LeaderLinetype
Gets or sets the name of the linetype of the leaders: ByBlock, ByLayer or one of the drawing's.
- LeaderLineweight
Gets or sets the lineweight of the leaders.
- LeaderType
Gets or sets how the leaders are drawn: straight, splined or not drawn.
- LeftAttachment
Gets or sets where a leader on the left meets the text.
- MaxLeaderPoints
Gets or sets the most points a leader is drawn through; 0 for no limit.
- RightAttachment
Gets or sets where a leader on the right meets the text.
- Scale
Gets or sets the scale of the multileaders; 0 for Scale multileaders to layout.
- SecondSegmentAngle
Gets or sets the angle the second segment of a leader is kept to.
- SetLandingDistance
Gets or sets whether the landing is of the distance set (LandingDistance).
- TextAngle
Gets or sets how the text is turned.
- TextColor
Gets or sets the colour of the text.
- TextHeight
Gets or sets the height of the text.
- TextStyle
Gets or sets the name of the text style.
- TopAttachment
Gets or sets where a leader at the top meets the text.
Methods
- Clone()
Gets a copy of the settings.
- Of(DxfMLeaderStyle)
Reads the settings of a style.
- SameAs(CadMLeaderStyleSettings)
Gets whether two settings write the same style.