Table of Contents

Enum DimensionStyle.ETextFlag

Namespace
CADability.Attribute
Assembly
CADability.dll

Settings for the dimension text as a combination of bits; see TextFlags. Each bit is also available as a boolean property of the style (DimTxtOutside, DimTxtRotate90, ...). Some of the bits date from an older system and are stored but not evaluated by the current Dimension layout; see the individual members.

public enum DimensionStyle.ETextFlag

Fields

DimForceTrailingZero = 524288

Decimal places are always written, padded with zeros up to the precision given by Round. See DimForceTrailingZero.

DimTxtAlt = 128

A second (alternate) text in square brackets is shown, scaled by ScaleAlt. Stored only, not drawn by the current layout.

DimTxtAltFractional = 16384

The alternate text is written as a fraction. Stored only, not drawn by the current layout.

DimTxtAutomatic = 4

The text is moved outside when it does not fit between the extension lines. See DimTxtAutomatic.

DimTxtDialog = 1

The dimension text should be asked for in a dialog when the dimension is created. Stored only, not evaluated.

DimTxtDinBau = 131072

German building construction format ("DIN Bau"): millimetres superscript, centimetres normal, metres separated by a point, so that 1.00 is one metre. Selectable in the property page, not implemented in the current layout.

DimTxtFractional = 8192

The value is written as a fraction; the largest denominator is given by Round. See DimTxtFractional.

DimTxtInsideHor = 2048

Text placed inside is always horizontal. See DimTxtInsideHor.

DimTxtLimits = 1024

The value is shown as upper and lower limit computed from PlusTolerance and MinusTolerance. Stored only, not drawn by the current layout.

DimTxtOutside = 2

The text is always placed outside, beyond the second extension line. See DimTxtOutside.

DimTxtOutsideHor = 4096

Text placed outside is always horizontal. Stored and exchanged with DXF, not evaluated by the layout.

DimTxtRect = 256

A rectangle is drawn around the text. See DimTxtRect.

DimTxtRotate60 = 16

The text is rotated by 60 degrees against the dimension line. See DimTxtRotate60.

DimTxtRotate90 = 8

The text is rotated by 90 degrees against the dimension line. See DimTxtRotate90.

DimTxtRotateAutomatic = 32

The text is rotated by 90 degrees when it does not fit between the extension lines. See DimTxtRotateAutomatic.

DimTxtSizePaper = 64

The text size refers to paper coordinates rather than model coordinates. Stored only, not evaluated.

DimTxtTolerances = 512

Tolerances are shown as stacked plus/minus texts according to PlusTolerance and MinusTolerance. See DimTxtTolerances.