Method SetCellType
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetCellType(int, int, DxfTableCellType)
Sets what a cell holds, as AutoCAD's SetCellType: a block cell made a text cell (171 of 1), its block, scale and
attribute values (340, 144, 179, 331, 300) taken out and its value one of none (from R2007 on 93 7, 90 0,
its flag 0x40000 taken out), as AutoCAD 2021 wrote the block cell M12 made a text cell (D28e v19), where the library
wrote an empty text; before R2007 its text empty. A text cell is made a block cell with its
block, which the library does not set, and is refused. The block AutoCAD drew the table with is not drawn anew.
public void SetCellType(int row, int col, DxfTableCellType type)
Parameters
rowintThe row, from nought.
colintThe column, from nought.
typeDxfTableCellTypeWhat it holds: TextCell.
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's, or the kind is none of a text and a block.
- InvalidOperationException
Thrown when a text cell is to be made a block cell, or the table is erased.