Table of Contents

Method InsertColumnsAndInherit

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

InsertColumnsAndInherit(int, int, int)

Puts columns in that take the look of another, as AutoCAD's InsertColumnsAndInherit: as InsertRowsAndInherit(int, int, int) puts rows in, the columns of the width of the column given, each cell with every line of the cell it takes the look of, and the blocks of merged cells down that column merged down each new one (D28d m2). The title is merged anew over columns put in at its edge, as InsertColumns(int, double, int) merges it, before the new cells take their look, so that a new cell of the title is of no value and one under it takes the title's bottom line, as AutoCAD 2021 wrote them (D28d g5, b1, D28c i5).

public void InsertColumnsAndInherit(int col, int inheritFrom, int numCols)

Parameters

col int

The column the new ones go before, from nought; NumColumns for after the last.

inheritFrom int

The column whose look they take, one of the table's as it stands before they go in.

numCols int

How many, one or more.

Exceptions

ArgumentOutOfRangeException

Thrown when the place is none of nought to NumColumns, the column whose look they take is not one of the table's, or the count is below one.

InvalidOperationException

Thrown when the table's record does not hold its cells, heights and widths, or the table is erased.