Method InsertColumns
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
InsertColumns(int, double, int)
Puts columns in, as AutoCAD's InsertColumns: as many columns as asked, of the width given, before a column
(after the last for NumColumns), as InsertRows(int, double, int) puts rows in, the count (92) and the
widths (142) written with them, 20 as 142 20.0; the title merged across every column grows by those put in, first, last or among
them, its text kept in its first cell, as AutoCAD 2021's InsertColumns grew it, where a merge of another row
moves on with its columns. Columns put in before the title's first column or after its last merge it anew, as AutoCAD
2021 merged it: its other cells emptied, of no value, under the title's top line, and the line under the title its
bottom line across every column, the green line under Qty where the line under Mark is yellow made yellow; a column
put in among its columns grows it as it is (D28d g1 to g4). Each new cell takes as its own the looks its row keeps
(its alignment, text style, background, colour and text height), as AutoCAD 2021 gave the new header cell of a table
of its own header of 9 140 9.0 with the flag 0x20, and reads a cell without them by its table style alone
(D28c o3): the table's own of the row's kind, those of its kind for a row of the title's or the header's kind out of
its place, the title moved down by a row put in before it 170 5 and 140 6.0, the looks of the data a
row put in at 0 took from the table for the rows of data, and none for a row put in (D33f a09, D33g g01, g02). The table of columns 40 and 30 given one 25 wide before its column 1 has columns 40, 25 and 30, its title
merged across the three; given one before its column 0, Parts still in (0, 0) across the three.
public void InsertColumns(int col, double width, int columns)
Parameters
colintThe column the new ones go before, from nought; NumColumns for after the last.
widthdoubleThe width of each, a finite number above nought.
columnsintHow many, one or more.
Exceptions
- ArgumentOutOfRangeException
Thrown when the column is none of nought to NumColumns, the count is below one, or the width is not a finite number above nought.
- InvalidOperationException
Thrown when the table's record does not hold its cells, heights and widths, or the table is erased.