Enum CadStylePart
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The parts of a sample dimension, leader or multileader that the style previews tell apart: the preview lights the parts a field sets. A dimension's parts are those of its picture (CadStyleSample); the multileader uses LeaderLine, Landing, Text, Block and Arrow.
public enum CadStylePart
Fields
None = 0No part: the outline of the sample, or an entity that no field sets.
DefinitionPoint = 1A definition point (a point on the Defpoints layer); the sample keeps them but the preview does not draw them.
DimensionLine1 = 2The first half of the dimension line, from the first extension line to the middle (DIMSD1 leaves it out).
DimensionLine2 = 3The second half of the dimension line, from the middle to the second extension line (DIMSD2 leaves it out).
ExtensionLine1 = 4The first extension line (DIMSE1 leaves it out).
ExtensionLine2 = 5The second extension line (DIMSE2 leaves it out).
Arrow1 = 6The first arrowhead (DIMBLK1).
Arrow2 = 7The second arrowhead (DIMBLK2).
LeaderArrow = 8The arrowhead of a leader drawn by the dimension style (DIMLDRBLK).
LeaderLine = 9The line of a leader or of a multileader.
Text = 10The words of a dimension or of a multileader.
TextFrame = 11The box drawn round the words of a dimension (a DIMGAP below nought).
TextFill = 12The fill behind the words of a dimension (DIMTFILL); it is the words' own background, so it shares their entity.
TextLeader = 13The leader or the landing the words of a dimension are put out on (DIMTMOVE).
CentreMark = 14The centre mark or the centre lines of a radius or a diameter (DIMCEN).
ArcSymbol = 15The arc symbol of an arc length dimension (DIMARCSYM).
Jog = 16The jog of a jogged radius, or of a linear dimension (DIMJOGANG).
Landing = 17The landing (the dogleg) of a multileader.
Block = 18The block a multileader points to.
Arrow = 19The arrowhead of a multileader.