Method SetStaticColumns
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetStaticColumns(double, double, int)
Sets the MTEXT in static columns, as AutoCAD's SetStaticColumns: as many columns as given, each as wide as
given and as high as the MTEXT's Height, a gutter between them; written as ColumnType
says, the MTEXT's group 41 (and 40 of its embedded object) made the width of all the columns with their gutters from
R2018, and a column's before it, as AutoCAD 2021 writes it: two columns 50 wide with a gutter of 10 give an MTEXT of
R2018 41 110, and one of R2007 or R2000 41 50, each read as 110 wide (Width). Three columns 12.5 wide
with gutters of 2.5 take 42.5 across.
public void SetStaticColumns(double width, double gutter, int count)
Parameters
widthdoubleHow wide each column is, a finite number above nought.
gutterdoubleThe space between two columns, a finite number of nought or more.
countintHow many columns, 1 or more.
Exceptions
- ArgumentOutOfRangeException
Thrown when a width is outside what it takes, or the count is below 1.
- InvalidOperationException
Thrown when the MTEXT is erased, or of a file older than R2007 with no MTEXTs of its later columns linked, which AutoCAD 2021 reads as of no columns.