Table of Contents

Property Width

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Width

Gets or sets the width the lines wrap at (group 41), as AutoCAD's Width; nought, no wrapping, where the record gives none. An MTEXT in columns before R2018 (AC1032), whose 41 holds the width of a column, is as wide as all its columns with the gutters between them, as AutoCAD 2021 reads it: two static columns 50 wide with a gutter of 10 in R2007 or R2000 make an MTEXT 110 wide, thirteen dynamic ones 770, and one 50, though AutoCAD writes 41 50 on each. An annotative MTEXT is as wide as the context it is read at says (its 40), at that scale, not as its record says (Location): AutoCAD 2021 read one whose record says 40 and whose context of 1:1 says 30 as 30 wide, whatever its default (check D35b).

public double Width { get; set; }

Property Value

double

Set, written as group 41. An MTEXT in columns before R2018 is left as it is, its 41 and its columns, as AutoCAD 2021 saves one: its 8D of two static columns 50 wide with a gutter of 10, of R2000 and of R2007, given the width 80, read 80 until it was saved, and was saved with 41 50 and its columns as they were, 110 wide when opened again (its 09-h); the library, whose drawing is its file, reads it 110 wide straight away. Its columns are given their widths by ColumnWidth, ColumnGutterWidth and ColumnCount.

Exceptions

ArgumentOutOfRangeException

Thrown when the width set is below nought or not a finite number.

InvalidOperationException

Thrown when the MTEXT is erased.