Table of Contents

Method ClearTableStyleOverrides

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ClearTableStyleOverrides(int)

Takes away what the table and its cells hold of their own over the table style, as AutoCAD's ClearTableStyleOverrides(options): 0 both, 1 the table's alone, 2 its cells' alone. The table's are the groups the DXF reference lists as its overrides (70, 40, 41, the looks by row and borders, 97, 98 and 4), after its last cell where the library writes them or in its head after its flags where AutoCAD 2021 writes them, and its flags 93 to 96 set to nought; its title and header left out (280, 281 and their flags, bits 0 and 1 of 93) stay so, as AutoCAD 2021 kept them, the table given a row before its title writing 93 3, 280 1, 281 1 still (D33e m01, m03, n01, n02). A cell's are those RemoveAllOverrides(int, int) takes away, its turn (145) made nought (D33d b01, D33e t01, t02, t06, t07). Of 0 and 2 a cell of a row of the title's or the header's kind out of its place keeps the looks of its kind, as AutoCAD 2021 kept 170 5 and 140 6.0 in the title moved down and 170 5 in the header (D33e m01 to m10, n06), so that it merges the first row on load as it merges its own. AutoCAD 2021 keeps the table's own looks of the data with each row of data: of 2, a cell of a row of data that a row put in before the first row of data took them from while the drawing is open is given them back, B-12 and M12 of the table of its own data looks given a row at 0 GH_TXT, red, 9 and top left, wherever the rows went since, a row put in taking the look of B-12 alike, and a row put in by InsertRows(int, double, int) or SetSize(int, int) none of the table's, its cells written 91 0; of 0 and 1 they go from the rows with the table's own (D33e n05, D33f a01 to a14, D33g e01, h01). The kinds of the rows are read from the TABLECONTENT once for each writing of it, and whole only where it holds more rows of the title's or the header's style than the table shows. Of 0 and 2, as AutoCAD 2021 wrote them, each cell of no value is given the empty one of no kind (93 5, 90 512) and each block cell loses the flag of its kind of value (0x40000), and of 2 each cell takes as its own the looks the table keeps of its own for its row's kind, so that it shows them still: the table of its own data of 5 high and bottom right, cleared of 2, writes each data cell 170 9 and 140 5.0, its header cells its green background (D33b c01 to c18). A cell emptied while the drawing is open keeps its value of none, 93 7 and 90 0, wherever rows or columns put in or taken out moved it since, as AutoCAD 2021 kept it (D33b c16, c17, D33c r08 to r13, D33d a01 to a13, c01, c02): one ResetValue(int, int) emptied or given an empty text, even one of no value before, one put in by InsertRows(int, double, int), InsertColumns(int, double, int) or SetSize(int, int), and one a merge emptied, the merge made on load among them, even where it is unmerged since; the new row of the table given a row before its row 2 and cleared of 0 writes 93 7 in both its cells. Of 1, a cell reset loses the text style, height and colour it kept as the table's own looks of its row's kind, which went with its content, even where rows put in before the first row of data took those looks from the table since (D33b c18, D33d a07, c03, c04). The block AutoCAD drew the table with is not drawn anew.

public void ClearTableStyleOverrides(int options)

Parameters

options int

0, 1 or 2.

Exceptions

ArgumentOutOfRangeException

Thrown when the options are none of 0, 1 and 2.

InvalidOperationException

Thrown when the table is erased.