Table of Contents

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 = 0

No part: the outline of the sample, or an entity that no field sets.

DefinitionPoint = 1

A definition point (a point on the Defpoints layer); the sample keeps them but the preview does not draw them.

DimensionLine1 = 2

The first half of the dimension line, from the first extension line to the middle (DIMSD1 leaves it out).

DimensionLine2 = 3

The second half of the dimension line, from the middle to the second extension line (DIMSD2 leaves it out).

ExtensionLine1 = 4

The first extension line (DIMSE1 leaves it out).

ExtensionLine2 = 5

The second extension line (DIMSE2 leaves it out).

Arrow1 = 6

The first arrowhead (DIMBLK1).

Arrow2 = 7

The second arrowhead (DIMBLK2).

LeaderArrow = 8

The arrowhead of a leader drawn by the dimension style (DIMLDRBLK).

LeaderLine = 9

The line of a leader or of a multileader.

Text = 10

The words of a dimension or of a multileader.

TextFrame = 11

The box drawn round the words of a dimension (a DIMGAP below nought).

TextFill = 12

The fill behind the words of a dimension (DIMTFILL); it is the words' own background, so it shares their entity.

TextLeader = 13

The leader or the landing the words of a dimension are put out on (DIMTMOVE).

CentreMark = 14

The centre mark or the centre lines of a radius or a diameter (DIMCEN).

ArcSymbol = 15

The arc symbol of an arc length dimension (DIMARCSYM).

Jog = 16

The jog of a jogged radius, or of a linear dimension (DIMJOGANG).

Landing = 17

The landing (the dogleg) of a multileader.

Block = 18

The block a multileader points to.

Arrow = 19

The arrowhead of a multileader.