Method ResetValue
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ResetValue(int, int)
Empties a cell's value, as AutoCAD's ResetValue: from R2007 on a value of none, of the flags 7 and the kind 0
and an empty text, its unit and format kept, the flag of its kind of value (0x40000) taken out, as AutoCAD 2021 wrote
Qty reset (91 0, 93 7, 90 0, D28e v10) and read it as of no value, where the library wrote an
empty text; before R2007 an empty text. The looks of the content go with it, as AutoCAD 2021's took them (D33c r02,
r03, r06): the cell's text style, text height and colour of its own (7, 140, 64 and their flags), but those the table
gives its row's kind of its own, and its turn (145 made nought), its alignment, background and lines kept; Mark
keeps its middle centre alone, and B-12 of the table of its own data of 9, GH_TXT, red and top left keeps those
(r01), which ClearTableStyleOverrides(int) of 1 then takes away with the table's, while the drawing is
open, wherever rows put in or taken out move the cell (D33b c18, D33d a07). A block cell is made a text cell of no
value, its block, attribute values and looks of the content gone as from a text cell, and its content taken out of the
TABLECONTENT, as AutoCAD 2021 emptied the block cell M12 (91 0, 93 7, 90 0, D33c r04, D33d b01 to b05). Nothing is
written where the cell holds no value already. The block AutoCAD drew the table with is not drawn anew.
public void ResetValue(int row, int col)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.
- InvalidOperationException
Thrown when the table is erased.