Table of Contents

Method SetCellStyleId

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetCellStyleId(int, int, int)

Gives a cell a cell style, as AutoCAD's SetCellStyle does: the id written into the cell's TABLECELL_BEGIN in the TABLECONTENT, which a table of none is given first (SetCellState(int, int, DxfCellState)). The look the style gives is not written here: it is the cell's own overrides, which the caller sets.

public void SetCellStyleId(int row, int column, int id)

Parameters

row int

The row, from nought.

column int

The column, from nought.

id int

The id of a cell style of the table's style; 0 to take the row's.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's.

InvalidOperationException

Thrown when the table is erased or not in a drawing, the drawing is one before R2007, or the TABLECONTENT has no such cell.