Table of Contents

Class DxfTable

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

The cells of a table walked, their values with their kinds and formats, their look set, their overrides, and the cell a point hits, as AutoCAD's Table has them.

public sealed class DxfTable : DxfEntity, IEnumerable<DxfCell>, IEnumerable
Inheritance
DxfTable
Implements
Inherited Members
Extension Methods

Remarks

AutoCAD gives every table of a file that holds none its extension dictionary, with ACAD_XREC_ROUNDTRIP and in it the XRECORD of ACAD_ROUNDTRIP_2008_TABLE_ENTITY: the TABLECONTENT of the table's columns and rows, each cell with its content (value, format) and its look (alignment, fill, the lines it sets), and the TABLEGEOMETRY of its cells. What a cell holds is read from the cell's own groups as AutoCAD reads them.

Constructors

DxfTable(GeoPoint3, int, int, double, double)

Initializes a table in no file, as AutoCAD's new Table() given its Position and SetSize: rows of one height and columns of one width, every cell an empty text cell that takes its look from the table style, to be added to a drawing by AppendEntity(DxfEntity). Added, it names the drawing's current table style (Tablestyle, where the drawing has it), its first row is merged across the table as AutoCAD's title is, and it is drawn in a new anonymous block (*T1 and on) by RecomputeTableBlock(): new DxfTable(new GeoPoint3(0, 0, 0), 6, 5, 9, 63.5) is a table 317.5 wide and 54 high, its top left at the origin, its title, header and four rows of data in five columns.

Properties

BlockTableRecord

Gets the anonymous block AutoCAD drew the table with (group 2), as AutoCAD's BlockTableRecord gives its id: *T12; null where the drawing has no block of its name.

Cells

Gets every cell of the table as a range, as AutoCAD's Cells: table.Cells[1, 0] is the cell of the second row and the first column, a DxfCell that reads and sets it; the range of a table of 3 rows and 2 columns is (0, 0) to (2, 1).

Columns

Gets the columns of the table, as AutoCAD's Columns: table.Columns[1].Width is the width of the second, read and set as ColumnWidth(int) and SetColumnWidth(int, double) do; as many as NumColumns.

Direction

Gets the direction of the table's rows (groups 11, 21, 31), as AutoCAD's Direction; (1, 0, 0) where the record gives none.

FlowDirection

Gets which way the rows follow one another (its own 70, after its cells or in its head: 0 down, 1 up), as AutoCAD's FlowDirection: TopToBottom or BottomToTop; down where the table gives none of its own.

Height

Gets the height of the table, its rows' heights together, as AutoCAD's Height: 26 for rows 10, 8 and 8 high.

HorizontalCellMargin

Gets the margin left and right of a cell's content (its own 40), as AutoCAD's HorizontalCellMargin; where the table gives none of its own, its table style's (the style's 40), and where the drawing has no style, that of AutoCAD's own Standard, 1.5 in a drawing of millimetres and 0.06 in one of inches, as AutoCAD 2021 read a table of none of its own by its style's margin of 2 as 2 and by its Standard as 1.5 (D28d h10). The library writes the table's own overrides after its last cell; AutoCAD 2021 writes them in its head, after its flags (93 to 96) and before its heights, a margin of 3 as 93 8 ... 96 0, 40 3.0, 141 ... (D28b s3), and both are read.

IsHeaderSuppressed

Gets whether the table leaves its header out (its own 281, after its cells or in its head, where AutoCAD 2021 wrote 93 2 ... 96 0, 281 1), as AutoCAD's IsHeaderSuppressed, or its table style leaves it out (IsHeaderSuppressed), as IsTitleSuppressed reads the title.

IsTitleSuppressed

Gets whether the table leaves its title out (its own 280, after its cells or in its head, as HorizontalCellMargin reads it), as AutoCAD's IsTitleSuppressed, or its table style leaves it out (IsTitleSuppressed), as AutoCAD 2021 reads a table: one of no flag of its own in a style that leaves the title out was read with its first row the header (_HEADER) and the rest data, and one of its own 280 0 the same. False where neither leaves it out.

Normal

Gets the normal of the plane the table lies in (groups 210, 220, 230), as AutoCAD's Normal; (0, 0, 1) where the record gives none.

NumColumns

Gets the number of columns (group 92 of the table's head), as AutoCAD's NumColumns.

NumRows

Gets the number of rows (group 91 of the table's head), as AutoCAD's NumRows.

Position

Gets the point the table stands at, its top left corner (groups 10, 20, 30), as AutoCAD's Position: in world coordinates; the origin where the record gives none.

Rows

Gets the rows of the table, as AutoCAD's Rows: table.Rows[0].Height is the height of the first, read and set as RowHeight(int) and SetRowHeight(int, double) do; as many as NumRows.

TableStyle

Gets or sets the table style of the table (its 342), as AutoCAD's TableStyle gives its id: the TABLESTYLE object of the dictionary ACAD_TABLESTYLE, a DxfTableStyle; null where the table names none the drawing has.

TableStyleName

Gets the name of the table style (the entry of the dictionary ACAD_TABLESTYLE the table's 342 names), as AutoCAD's TableStyleName; null where the table names none the drawing has.

VerticalCellMargin

Gets the margin above and below a cell's content (its own 41, after its cells or in its head, as HorizontalCellMargin reads it), as AutoCAD's VerticalCellMargin; where the table gives none of its own, its table style's (the style's 41), else AutoCAD's own Standard's, 1.5 in a drawing of millimetres and 0.06 in one of inches.

Width

Gets the width of the table, its columns' widths together, as AutoCAD's Width: 70 for columns 40 and 30 wide.

Methods

Alignment(int, int)

Gets where a cell's content stands, as AutoCAD's Alignment: the cell's own (170); null where it has none, its table style's then.

AttachmentPoint(int, int)

Gets the point a cell's content is placed at, as AutoCAD's AttachmentPoint: the corner, the middle of a side or the middle of the cell (of its block of merged cells) its alignment names, in from the sides by the table's HorizontalCellMargin and VerticalCellMargin. The cell's own alignment where it has one (a block's, that of its top left cell, which holds its content), else as AutoCAD's table style STANDARD has it, which the library takes for the table style it does not read: the middle for the title and the header, the middle of the top for a row of data. The header cell (1, 1) of the table at (300, -100, 0), in the middle of its rows 10 and 8 high and its columns 40 and 30 wide, is at (355, -114, 0). The top is the cell's top as it is seen, whichever way the rows flow: the cell (2, 0) of that table with its rows flowing up, from y -82 to -74, is placed at the top middle at (320, -74.06, 0).

BackgroundColor(int, int)

Gets the colour of a cell's background, as AutoCAD's BackgroundColor: the cell's own (63, of the index); null where it has none.

BlockRotation(int, int)

Gets the turn of a block cell's block (its 145), as AutoCAD's BlockRotation, in radians; nought where it gives none.

BlockScale(int, int)

Gets the scale of a block cell's block (its 144), as AutoCAD's BlockScale; 1 where it gives none.

CanDeleteColumns(int, int)

Gets whether columns can be taken out, as AutoCAD's CanDeleteColumns: one or more of the table's, one column at least left, as CanDeleteRows(int, int).

CanDeleteRows(int, int)

Gets whether rows can be taken out, as AutoCAD's CanDeleteRows: one or more of the table's, one row at least left, where the table's record holds its cells, heights and widths; a block of merged cells a row is taken out of shrinks, so no merge stops it. The table of 3 rows can lose 2 of them, not 3.

CanInsertColumn(int)

Gets whether columns can be put in before a column, as AutoCAD's CanInsertColumn: before any of them or after the last (NumColumns), where the table's record holds its cells, heights and widths, as CanInsertRow(int).

CanInsertRow(int)

Gets whether rows can be put in before a row, as AutoCAD's CanInsertRow: before any of them or after the last (NumRows), where the table's record holds its cells, one height for each row and one width for each column. A row put in within a block of merged cells, or a range of cells linked to data, grows it, so neither stops it.

CellStyleOverrides(int, int)

Gets what a cell holds of its own over its table style, as AutoCAD's CellStyleOverrides: by its flags (177, or 91 from R2007 on), bit k the override numbered 130 + k as AutoCAD's own enum orders them: its alignment 130 (flag 1), its fill 131 and 132, its colour 133, its text style 134 and height 135 (flag 0x20), then its borders grouped by what they hold, the colours of the top, right, bottom and left 136 to 139 (flags 0x40 to 0x200), their lineweights 140 to 143 (0x400 to 0x2000) and whether they are drawn 144 to 147 (0x4000 to 0x20000); the cell of flags 49 holds 130, 134 and 135, and one of 0x80 the colour of its right border.

CellType(int, int)

Gets what a cell holds (its group 171), as AutoCAD's CellType.

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.

ColumnWidth(int)

Gets the width of a column (the column's group 142), as AutoCAD's ColumnWidth.

ContentColor(int, int)

Gets the colour of a cell's content, as AutoCAD's ContentColor: the cell's own (64, of the index); null where it has none.

CopyFrom(DxfTable, DxfTableCopyOptions, DxfCellRange, DxfCellRange)

Copies cells of another table of the drawing, or of this one, into this table, as AutoCAD's CopyFrom(source, options, sourceRange, targetRange): the cells of the source range, row by row, from the top left cell of the target range on, each with its content (its kind, text or value, block and attribute values) and its look (its overrides and their flags); the blocks of merged cells wholly within the source range merged alike, those of this table the copy meets unmerged. A field (344) a cell points at is the source cell's own, and is not copied: the copy holds the text the cell shows, so SkipField and SkipFormula are taken and change nothing. The ranges of cells linked to data wholly within the source range are linked alike, to the same DATALINKs, and those of this table the copy meets taken out, as merges are. A cell emptied while the drawing is open holds no content to give, as AutoCAD 2021 copied B-12 reset (D33e f10 to f13, f17, g07, g16): the cell copied to keeps its content, the looks of it and its kind of value, and takes the look of the cell alone, its alignment, background and lines, unless SkipFormat; Mark given B-12 reset loses its middle centre and keeps GH_TXT and 3.5. A cell given a content is no longer one emptied in the session (D33e g14). Cells past this table's last row or column are left out, unless ExpandOrContractTable grows the table to hold them, its new rows and columns as high and wide as the source's; the library only grows a table with it, never shrinks one. The record is written once; the block AutoCAD drew the table with is not drawn anew. The header and data rows of the table of 3 rows, (1, 0) to (2, 1), copied to (3, 0) with ExpandOrContractTable make it a table of 5 rows, Mark and Qty in row 3 and B-12 in row 4.

DataType(int, int)

Gets the kind of a cell's value, as AutoCAD's DataType(row, col): from R2007 on its value's 90, Double for 12.5 and String for Parts; a text where it gives none, and before R2007, whose cells hold their text alone.

DeleteColumns(int, int)

Takes columns out, as AutoCAD's DeleteColumns: their cells, their widths (142) and their count (92), as DeleteRows(int, int) takes rows out; the title merged across the columns of a table of two that loses the first is unmerged, the one cell left of its own empty text, as AutoCAD 2021 left it (D28e x5), Parts gone with the first. The rows AutoCAD merges across when it loads a file are merged at the first edit, as DeleteRows(int, int) says: the title of three columns left unmerged over empty cells, losing its middle column, is written merged across the two left (D33b m05, m12).

DeleteRows(int, int)

Takes rows out, as AutoCAD's DeleteRows: their cells, their heights (141) and their count (91). A block of merged cells shrinks to the rows of it left, and is unmerged where one cell of it is left; where its top row goes, the first cell of it left keeps its own content, empty where MergeCells(DxfCellRange) emptied it, as AutoCAD 2021 kept it (D28e k1, k4), where the library moved the top left cell's there. A block below the rows moves up. The rows left keep their kinds, as AutoCAD keeps a kind with each row: the title or the header taken out is left out (280 1, 281 1 and their flags in 93), the header first and shown where the title goes, and a title or header moved back into its place by the rows taken is shown again, its 280 or 281 taken out (D28e x1 to x17); the table's own looks of a kind of which no row is left go from its head with their flags, as AutoCAD took the header's background and height out with the header (x8). Where the first row of data goes, the table's own looks of the data are those the next row of data keeps, as AutoCAD 2021 reads them from its first row of data: the row put in at 0 taken out again gives them back to the table's head as they were (93 6886016), B-12 taken out after a row put in after it takes them away (D33g k02, k05, k06). A range of cells linked to data shrinks and moves alike, its link named by its new top left cell, and goes where none of it is left, its DATALINK erased as RemoveDataLink() erases one: where it is anonymous and nothing else of the file points at it. The rows are taken out of the table's TABLECONTENT too, as AutoCAD 2021's DeleteRows takes them out: a link the TABLECONTENT names goes with its cell, its DATALINK kept and no longer tied to the TABLECONTENT (94 1, 330 F6). The record is written once, its cells anew; the block AutoCAD drew the table with is not drawn anew. The table of rows 10, 8 and 8 that loses its row 1 has rows 10 and 8, its cell B-12 now in row 1. At the table's first edit while its drawing is open, this or any other, the rows AutoCAD 2021 merges across when it loads a file are merged first, as MergeCells(DxfCellRange) merges them, and written so, as AutoCAD writes them whenever it saves: the first row, whatever its kind and whether the title is shown, and any other row of the title's kind, where no block of merged cells reaches out of it and each cell after the block of its first cell is a text cell of no value or of an empty text (D33b w01 to w38, m01 to m32, D33c e01 to e20). The title Parts left unmerged over an empty cell is written merged across the two columns; one with X, a space or nought beside it, or a block, is left as it is.

Explode()

Gets the entities the table is drawn with, as AutoCAD's Explode: those of its block (BlockTableRecord, *T12), the lines of its cells and their words, placed where the table draws them, at its Position in the plane of its Normal, each a copy of its own look. The block is the picture AutoCAD drew last: a cell's text set since is not in it.

Fill(DxfCellRange, DxfCellRange, DxfTableFillOptions)

Fills cells from others, as AutoCAD's Fill does when a cell's grip is dragged, as AutoCAD 2021 filled them (D33 f01 to f20, g01 to g26): the rows of the fill range down the columns of the source range, or its columns along the rows of the source with Row, whatever columns (or rows) the fill range names; each cell given the source cell its place repeats, from the fill range's first cell on, so that 1.5 and 2.5 filled into rows 5 and 6 give 1.5 and 2.5. Above (or left of) its source and longer than it, a fill repeats the source back from the fill range's last cell, the source's last next to it, in whole lengths of the source, and leaves as they are the cells of one that would reach before the table's first row or column, as AutoCAD 2021 filled 464 such ranges (D33c): 2.5 and 3.5 filled into rows 10 to 12 give 3.5, 2.5 and 3.5, and four sources from column 7 filled into columns 0 to 6 fill columns 3 to 6 alone. A cell a block of merged cells hides is left as it is, the title's second cell filled from Parts staying empty (D33b f12, D33c e09). CopyContent copies the content alone, the cell keeping its look and flags, and wins over a series; CopyFormat copies the look, the flags and the kind of value, a cell of no value given one of none of that kind (93 5), one of a value of that kind keeping it, and one of a value of another kind turned into it as SetDataType(int, int, DxfDataType, DxfUnitType) turns it, Mark given the look of 1.5 a number of none, the text 12 the number 12 shown 12.0000 (D33b f02, f23 to f26, f31, f32); the two together copy the cell whole. The header and the title are filled as rows of data are (D33b f01 to f20). GenerateSeries without CopyContent carries the numbers of the source on, the cell given its kind of value (0x40000) and its look kept unless CopyFormat is given: on from the source's last number by the step from its first to its last (one for a source of one number) through the fill range, wherever it stands, 1.5 and 2.5 going on to 3.5, 4.5 and 5.5 below them or above them alike; with Reverse back from the source's first number, the fill range's last cell next to it, 1.5 and 2.5 to -1.5, -0.5 and 0.5, and 10 and 20 to -20, -10 and 0. Reverse alone changes nothing of a copy. A number of a series is rounded to the places of decimals of its source and its step, and to 15 significant figures, 0.1 and 0.2 going on to 0.3, written of six places from R2007 on (0.300000), a whole number where every source is one and so is the step; a source of a text that is no number is copied, the cell given its kind of value. Options of none of the three change nothing; a fill range that holds a cell of the source is refused, as AutoCAD 2021 refused it (eInvalidInput). A cell emptied while the drawing is open, reset, given an empty text, put in, or emptied by a merge, holds no content to give: CopyContent leaves the target as it was, and CopyFormat gives it the cell's own look alone, its alignment, background and lines, the target keeping its text style, height, colour and kind of value, as AutoCAD 2021 filled Z from B-12 reset (D33d a16, D33e f01 to f19, g01 to g13); one read of no value from the file is copied as none. With GenerateSeries a cell of no value, of either kind, gives the target none of no kind of value (91 0), CopyContent given or not (D33e f04, f05, g08, g20, g21). A cell given a content is no longer one emptied in the session (D33e g12, g14). The numbers are those of a whole number or a number value, or before R2007 a text that reads as one. A series of dates goes on as AutoCAD 2021's console took them (D42), in seconds counted as the C library's mktime counts them, the date as shown read in the machine's zone and taken to the epoch, 1 January 1970, and put back with no zone: from the last date by the step between the last two (a day for one date), or in reverse back from the first by the step between the first two, so that 1/1/2020 filled into three cells is 1/1/2020 17:00, 1/2/2020 17:00 and 1/3/2020 17:00 in a zone seven hours ahead of Greenwich and 1/2/2020, 1/3/2020 and 1/4/2020 in Greenwich; a date before the epoch counts as -1 and a count before 12 hours before it makes none (16 bytes of nought, no words), as AutoCAD 2021 did, so that 12:30 alone, which is on the 30th of December 1899, goes on as 1/1/1970 23:59:59 in any zone. Each cell is of the format of the source it repeats. Dates mixed with other values are copied. The record is written once; the block AutoCAD drew the table with is not drawn anew.

Format(int, int)

Gets the format of a cell's value, as AutoCAD's Format(row, col): from R2007 on its value's 300, as %lu2%pr2 for a decimal of two places; empty where it gives none, and before R2007.

GetBlockAttributeValue(int, int, DxfAttributeDefinition)

Gets the value a block cell gives an attribute of its block, as AutoCAD's GetBlockAttributeValue: the 300 after the 331 that points at the definition, its escapes read as letters as TextString(int, int) reads them; null where the cell gives it none.

GetBlockTableRecord(int, int)

Gets the block a block cell draws (its 340), as AutoCAD's BlockTableRecordId(row, col) and GetBlockTableRecordId give its id; null for a text cell, or a block the drawing has not.

GetCellExtents(int, int, bool)

Gets the corners of a cell, as AutoCAD's GetCellExtents gives them: from the table's point along its direction by the widths of the columns before it, and down (up where its rows flow up) by the heights of the rows before it, in the plane of its normal; the cell (1, 1) of columns 40 and 30 wide and rows 10 and 8 high from (300, -100, 0) is (340, -110, 0), (370, -110, 0), (370, -118, 0) and (340, -118, 0).

GetCellState(int, int)

Gets the state of a cell, as AutoCAD's GetCellState(row, column): the 90 after the LINKEDTABLEDATACELL_BEGIN of its cell in the TABLECONTENT, where Content Locked is 1 and Format Locked 16. A table with no TABLECONTENT, or one with no such cell, holds every cell unlocked.

GetCellStyleId(int, int)

Gets the id of the cell style a cell takes, as AutoCAD's CellStyle names it: the 90 after the TABLECELL_BEGIN of its cell in the TABLECONTENT, 0 where the cell names none and takes its row's, as the cells of a table the library made do. The ids are those of GetCellStyleId(string): 1 Title, 2 Header, 3 Data, 101 on those a user made.

GetContentColor(int, int, int)

Gets the colour of a content of a cell, as AutoCAD's GetContentColor(row, column, contentIndex): of its one content, nought, as ContentColor(int, int).

GetDataFormat(int, int)

Gets the format of a cell's value, as AutoCAD's GetDataFormat(row, column): as Format(int, int).

GetDataFormat(int, int, int)

Gets the format of a content of a cell, as AutoCAD's GetDataFormat(row, column, contentIndex): of its one content, nought, as Format(int, int).

GetDataLink()

Gets the data links of the table, as AutoCAD's GetDataLink() gives their ids: each once, in the order of the top left cells of their ranges, row by row; empty for a table of none.

GetDataLink(DxfCellRange)

Gets the data links of the ranges a range of cells meets, as AutoCAD's GetDataLink(range) gives their ids: each once, in the order of the top left cells of their ranges, row by row.

GetDataLink(int, int)

Gets the data link that fills a cell, as AutoCAD's GetDataLink(row, column) gives its id: that of the linked range the cell is in, the first by its top left cell row by row; null where the cell is in none.

GetDataLinkRange(int, int)

Gets the range of cells a cell's data link fills, as AutoCAD's GetDataLinkRange: from the top left cell that names the link by its rows and columns (93, 94), cut at the table's last row and column; null where the cell is in no linked range. The cell (2, 1) of a table linked over (1, 0) to (2, 1) gives that range.

GetDataType(int, int, int)

Gets the kind of a content of a cell's value with what its number measures, as AutoCAD's GetDataType(row, column, contentIndex): of its one content, nought, DataType(int, int) and UnitType(int, int) together.

GetEnumerator()

Walks the cells of the table, as AutoCAD's GetEnumerator: row by row from the top, each from the left, every cell of a block of merged cells among them; the table of 3 rows and 2 columns gives (0, 0), (0, 1), (1, 0) and on to (2, 1). A cell the record does not hold, where it holds fewer than its rows by its columns, is not given.

GetFieldCells()

Gets the cells that show a field or a formula (their 344 names a record): the ones to evaluate again where the table is edited. Each is a range of the one cell.

GetFieldCode(int, int, int)

Gets the code of the field a cell shows (its 344), as AutoCAD's GetFieldId then GetFieldCode() read it: \AcVar Login, or \AcExpr (A1+B1) for a formula; null for a cell that holds none, or whose field the drawing has not.

GetFormula(int, int, int)

Gets the formula of a cell, as AutoCAD's GetFormula: the expression of the FIELD the cell's 344 points at, of the evaluator AcExpr, or of the one field within a field of text (_text, its code %<_FldIdx 0>%) that is one; its field code \AcExpr (A1+B1) is given as =A1+B1, a format after it (\f "%lu2") left out. Null for a cell of no field, or of a field of another kind, as a date. A 344 that names no record of the file, as AutoCAD 2021 wrote the formula of a linked cell (its 192, written in none), is read from the cell's field in the table's TABLECONTENT, where AutoCAD keeps it (its 195 of \AcExpr (1+2)). The library does not work a formula out: the cell's value is the one AutoCAD last wrote.

GetGridColor(int, int, DxfGridLineType)

Gets the colour of a line of a cell, as AutoCAD's GetGridColor(row, column, gridLineType): the own of the edge that holds the line, its top (69), right (65), bottom (66) or left (68), of the index; null where it has none, its table's then. AutoCAD 2021 reads a line between two cells as the top or left edge of the one below or right of it where that cell holds the edge, its edge flag (172: 1 top, 2 right, 4 bottom, 8 left) set and one of the edge's overrides at least given with its flag, else as the bottom or right edge of the other where it holds it: the top of (2, 1) green reads as the bottom of (1, 1), whatever (1, 1) gives; the top of (2, 1) of a colour alone and the bottom of (1, 1) of a lineweight alone read no lineweight (D28c B1 to B15). A cell's own override without its edge flag, or its flag, holds no line.

GetGridLineWeight(int, int, DxfGridLineType)

Gets the lineweight of a line of a cell, as AutoCAD's GetGridLineWeight(row, column, gridLineType): the cell's own of the edge that holds the line, its top (279), right (275), bottom (276) or left (278), as GetGridColor(int, int, DxfGridLineType) reads it; null where it has none.

GetGridProperty(int, int, DxfGridLineType)

Gets what a line of a cell holds of its own, as AutoCAD's GetGridProperty(row, column, gridLineType): its colour, lineweight and showing where the edge that holds the line (GetGridColor(int, int, DxfGridLineType)) has them, each named in the mask; the mask Invalid for a line of none, which takes all from its table.

GetGridVisibility(int, int, DxfGridLineType)

Gets whether a line of a cell is drawn, as AutoCAD's GetGridVisibility(row, column, gridLineType): the cell's own of the edge that holds the line, its top (289), right (285), bottom (286) or left (288), as GetGridColor(int, int, DxfGridLineType) reads it, 0 not drawn and any other drawn (AutoCAD 2021 read 0 hidden, 1 and 2 drawn, D28c B5 to B7); null where it has none.

GetIsAutoScale(int, int, int)

Gets whether a content of a cell is fitted to the cell, as AutoCAD's GetIsAutoScale(row, column, contentIndex): of its one content, nought, as IsAutoScale(int, int).

GetMergeRange(int, int)

Gets the block of merged cells a cell is in, as AutoCAD's GetMergeRange: the title of two columns, (0, 0) to (0, 1), whose cell range[0, 0] is the table's; the cell alone where it is merged with none. A block is read from the width and height in cells (175, 176) of its top left cell alone, as AutoCAD 2021 reads it: AutoCAD writes that cell 173 0 and the others of the block 173 1, and read a 173 of 1 in a cell of no spans as no merge.

GetNumberOfContents(int, int)

Gets how many contents a cell holds, as AutoCAD's GetNumberOfContents: 1, nought for an empty one.

GetOverrides(int, int, int)

Gets what a content of a cell holds of its own over its table style, as AutoCAD's GetOverrides(row, column, contentIndex): by its flags (177, or 91 from R2007 on), its alignment (flag 1) Alignment, its background (2 and 4) BackgroundColor, its colour (8) ContentColor, its text style (0x10) and height (0x20), and its kind of value (0x40000) DataType and DataFormat both, as AutoCAD 2021 reads that flag from a file (D33b); by the overrides it holds where it gives no flags. The cell of flags 49 has Alignment, TextStyle and TextHeight; Qty of flags 262 144 has DataType and DataFormat.

GetRotation(int, int, int)

Gets the turn of a cell's content (its 145), as AutoCAD's GetRotation(row, column, contentIndex), in radians.

GetScale(int, int, int)

Gets the scale of a content of a cell, as AutoCAD's GetScale(row, column, contentIndex): of its one content, nought, as BlockScale(int, int).

GetTextHeight(int, int, int)

Gets the height of the text of a content of a cell, as AutoCAD's GetTextHeight(row, column, contentIndex): of its one content, nought, as TextHeight(int, int).

GetTextString(int, int, int)

Gets the text of a content of a cell, as AutoCAD's GetTextString(row, column, contentIndex): a cell of a file holds one content, nought.

GetValue(int, int, int)

Gets the value of a content of a cell, as AutoCAD's GetValue(row, column, contentIndex): of its one content, nought.

GridColor(DxfGridLineType, DxfRowType)

Gets the colour of a line of the rows of a kind, as AutoCAD's GridColor(gridlineType, type): the table's own, after its last cell, or in its head after its flags and before its heights where AutoCAD 2021 writes the table's own overrides, of the index (64, 65, 66, 63, 68, 69 for the lines across top, inside and bottom and down left, inside and right), its flag in 94; null where it has none, its table style's then. The groups of one code are read in the order of their flags, the title's, the header's, then the data's, and after the table's colours of its rows (64 and 63 with their flags in 93), as AutoCAD writes them.

GridColor(int, int, DxfCellEdgeMasks)

Gets the colour of an edge of a cell, as AutoCAD's GridColor(row, col, edge): as GetGridColor(int, int, DxfGridLineType).

GridLineWeight(DxfGridLineType, DxfRowType)

Gets the lineweight of a line of the rows of a kind, as AutoCAD's GridLineWeight(gridlineType, type): the table's own (274 to 279 in the order of the lines), its flag in 95, as GridColor(DxfGridLineType, DxfRowType) reads a colour; null where it has none.

GridLineWeight(int, int, DxfCellEdgeMasks)

Gets the lineweight of an edge of a cell, as AutoCAD's GridLineWeight(row, col, edge): as GetGridLineWeight(int, int, DxfGridLineType).

GridVisibility(DxfGridLineType, DxfRowType)

Gets whether a line of the rows of a kind is drawn, as AutoCAD's GridVisibility(gridlineType, type): the table's own (284 to 289, 1 drawn and 0 not), its flag in 96; null where it has none.

GridVisibility(int, int, DxfCellEdgeMasks)

Gets whether an edge of a cell is drawn, as AutoCAD's GridVisibility(row, col, edge): as GetGridVisibility(int, int, DxfGridLineType).

HasFormula(int, int, int)

Gets whether a cell holds a formula, as AutoCAD's HasFormula: its field (344) one of AutoCAD's expressions (AcExpr), as GetFormula(int, int, int) reads it.

HitTest(GeoPoint3, GeoVector3)

Gets the cell a point hits, as AutoCAD's HitTest: the point carried along the direction it is seen in onto the table's plane, then laid on its columns and rows from Position along Direction, as GetCellExtents(int, int, bool) lays them; a cell of a block of merged cells gives the block's top left. On the table of columns 40 and 30 wide and rows 10, 8 and 8 high at (300, -100, 0), seen from above, (350, -112, 5) hits the cell (1, 1) and (310, -105, 0) the title (0, 0); a point on the line between two cells, within Default, hits the one of the lower row or column index, above where the rows flow down and below where they flow up, and a point beyond the table hits nothing.

InsertColumns(int, double, int)

Puts columns in, as AutoCAD's InsertColumns: as many columns as asked, of the width given, before a column (after the last for NumColumns), as InsertRows(int, double, int) puts rows in, the count (92) and the widths (142) written with them, 20 as 142 20.0; the title merged across every column grows by those put in, first, last or among them, its text kept in its first cell, as AutoCAD 2021's InsertColumns grew it, where a merge of another row moves on with its columns. Columns put in before the title's first column or after its last merge it anew, as AutoCAD 2021 merged it: its other cells emptied, of no value, under the title's top line, and the line under the title its bottom line across every column, the green line under Qty where the line under Mark is yellow made yellow; a column put in among its columns grows it as it is (D28d g1 to g4). Each new cell takes as its own the looks its row keeps (its alignment, text style, background, colour and text height), as AutoCAD 2021 gave the new header cell of a table of its own header of 9 140 9.0 with the flag 0x20, and reads a cell without them by its table style alone (D28c o3): the table's own of the row's kind, those of its kind for a row of the title's or the header's kind out of its place, the title moved down by a row put in before it 170 5 and 140 6.0, the looks of the data a row put in at 0 took from the table for the rows of data, and none for a row put in (D33f a09, D33g g01, g02). The table of columns 40 and 30 given one 25 wide before its column 1 has columns 40, 25 and 30, its title merged across the three; given one before its column 0, Parts still in (0, 0) across the three.

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).

InsertRows(int, double, int)

Puts rows in, as AutoCAD's InsertRows: as many rows as asked, of the height given, before a row (after the last for NumRows), each of empty text cells that take their look from the table style; the count of rows (91) and their heights (141) are written with them, each as a real, as AutoCAD 2021 writes it, 9 as 141 9.0 (D37). A block of merged cells the rows go into grows by them, one they go above moves down with its rows, and so does a range of cells linked to data. The rows go into the table's TABLECONTENT too, where it has one, as AutoCAD 2021's InsertRows writes them: rows of data of empty cells, a link the TABLECONTENT names moving and growing with its cells, as AutoCAD reads it there, and the merged ranges it lists alike. The record is written once, its cells anew, so that 16 000 rows go in in time linear in its groups; the block AutoCAD drew the table with is not drawn anew. The table of rows 10, 8 and 8 given two rows 6 high before its row 2 has rows 10, 8, 6, 6 and 8, its cell B-12 now in row 4. Rows put in before the title or the header are of data, as AutoCAD 2021 keeps them: the record tells a row's kind by its place alone, so the table leaves the title out (280 1) where a row goes in before it and the header (281 1) where one goes in before it, and the cells of each, data now, take as their own the looks of their kind the data's are not, the title's 170 5 and 140 6.0 of AutoCAD's Standard, the header's 170 5, and the table's own of their kind (D28d r1 to r7). Rows put in at or before the first row of data take the table's own looks of the data away from it, the rows of data that were given them as their own, as AutoCAD reads those looks from the first row of data (D28d d1 to d3); a row that keeps looks of its own keeps those. AutoCAD 2021 keeps the looks of each row with the row, and a row put in keeps none: a clear of the cells' overrides of 2 and a column put in give its cells none, the table of its own looks of the data given a row after B-12 and cleared of 2 writing the new row's cells 91 0 (D33f a04, D33g g01, k07). The first row put into a table of one row is the header and the rest data, as AutoCAD 2021 gave them, the header shown again where the table had left it out, and a header put after a lone row of data read as data in the header's alignment (D28e s8, s15, s17, e07 to e12). The table given a row before its title reads every row as data, Parts still 6 high and in the middle.

InsertRowsAndInherit(int, int, int)

Puts rows in that take the look of another, as AutoCAD's InsertRowsAndInherit: as InsertRows(int, double, int), the rows of the height of the row given, and each cell of them an empty text cell with the look the cell of that row in its column holds of its own: its overrides with their flags (177, or 91 from R2007 on), wherever they stand outside its value, and the edges of its lines (172), its turn (145), and from R2007 on the kind (90, 512 for a value of no kind), unit (94) and format (300) of its value, the value the empty one of the flags 5 AutoCAD 2021 wrote; not its content. The blocks of merged cells across that row are merged across each new row alike, the title's too (D28d m1, m3, i1). The new rows are of that row's kind, as AutoCAD 2021 keeps them: of the title's or the header's where it is the title or the header, each cell given as its own the looks of that kind the data's are not, the title's 170 5 and 140 6.0 of AutoCAD's Standard, and the table's own of that kind, unless it is put in the place of that kind; a title or header moved out of its place leaves it out (280 1, 281 1) and takes those looks alike, as InsertRows(int, double, int) writes them (D28d i1 to i9). The table given a row of its title's look after its last has a fourth row merged across, 6 high, read as data. The new rows keep the looks that row keeps of its own, as AutoCAD 2021 kept them: a row put in taking the look of B-12, which a row put in at 0 took the table's own looks of the data from, is given GH_TXT, red, 9 and top left by a clear of 2, and one taking the look of a row put in none (D33g h01, h03). In the TABLECONTENT the new rows take that row's style, a row of data from a row of data, and each cell the format of that row's cell in its column as it stands, its margins and lines, and an empty value of the flags 5 with the format of that cell's content where it holds one, as AutoCAD 2021 wrote them (D28c i1 to i7).

IsAutoScale(int, int)

Gets whether a block cell's block is fitted to the cell, as AutoCAD's IsAutoScale: its 174 not nought; false where it gives none.

IsBackgroundColorNone(int, int)

Gets whether a cell's background is left unfilled, as AutoCAD's IsBackgroundColorNone: the cell's own 283, 1 unfilled and 0 filled, as AutoCAD 2021 read a cell of 63 3, 283 0 green and one of 283 1 unfilled (D28e v17, v18), where the library read them the other way about; null where it has none.

IsEmpty(int, int)

Gets whether a cell holds nothing, as AutoCAD's IsEmpty: a text cell of no text.

IsLinked(int, int)

Gets whether a cell is linked to data, as AutoCAD's IsLinked: for a range the TABLECONTENT names, its top left cell, which names the link, whatever its state; any other cell of it whose state in the TABLECONTENT (its 90) has the flag 4 of a linked cell; and any other that AutoCAD lays out from the ACAD_TABLE, its cell of the TABLECONTENT holding no content (its 95 of nought), or one whose checksum in its custom data (ACAD_ROUNDTRIP_2008_CELL_CHECKSUM) does not agree with the cell's text in the ACAD_TABLE, or the TABLECONTENT having no such cell. For a range named in the cells of the ACAD_TABLE, which AutoCAD reads no link from, every cell of it, as GetDataLinkRange(int, int) finds it. AutoCAD 2021 read the library's link over (1, 0) to (2, 1), its cells of no content, as linked at all four (D28 p2), and AutoCAD's own, whose cells (1, 1), (2, 0) and (2, 1) held an empty value of the checksum of their text, as linked at (1, 0) alone (73-h); a text, a number or an empty value there, its checksum agreeing, as not linked, and disagreeing, as linked (D28b L1 to L14); a cell of the state 4 as linked (73-k), and (1, 0) of the state 0 still as linked (73-l). A cell of the state 4 in no range is linked where it holds a content, whatever its checksum, with no range and no link: AutoCAD read the title (0, 0) of Parts and (2, 1), a cell of data of no text, given it beside a range over (1, 0) to (1, 1) as linked (73-r, L13), and (0, 1), of no content, given it beside the range of 73-k, as not (73-m). A table the drawing's ACDB_RECOMPOSE_DATA does not list has no link of its TABLECONTENT.

IsMergedCell(int, int, out DxfCellRange)

Gets whether a cell is one of a block of cells merged into one, as AutoCAD's IsMergedCell, and that block: the cell whose 175 and 176 span it, columns and rows, its top left, as GetMergeRange(int, int) reads it.

MergeCells(DxfCellRange)

Merges a block of cells into one, as AutoCAD's MergeCells: its top left cell given the block's width and height in cells (175, 176), as GetMergeRange(int, int) reads them, and 173 0, the others marked merged (173 of 1), as AutoCAD 2021 wrote them (D33e w07); the content of its top left cell is the block's, and the others are emptied as AutoCAD 2021 empties them (EmptyMerged(int, int, CellSlices, Func<Layout>, DxfCellRange, bool)), where the library kept them unseen; a cell of a row of the title's kind moved down by a row put in before it keeps the title's 140 6.0 of AutoCAD's Standard, and is given it for a height of its own (D33c k01, k02). A block of merged cells within the range becomes part of it. The title of the table of 3 rows and 2 columns, merged with the row below it, (0, 0) to (1, 1), gives that range from each of its four cells. The table's TABLECONTENT lists the range among its merged ranges, those it meets taken out, as AutoCAD 2021 lists a merge, though AutoCAD reads a table's merges from its ACAD_TABLE. Nothing is written for a range of one cell, or one merged so already; the block AutoCAD drew the table with is not drawn anew.

RecomputeTableBlock()

Draws the table anew in the anonymous block it is drawn with, as AutoCAD's RecomputeTableBlock: the block's entities erased and, from its cells, the fill of each filled cell (a SOLID), the lines of its grid (a LINE for each run of a line of one look along a row or column of cells, none inside a block of merged cells), the text of each cell (an MTEXT at the cell's attachment point, as wide as the cell less its margins) and the block of each block cell (an INSERT, its extents, turned and scaled, aligned in the cell by its alignment, in from the cell's sides by the margins; the scale of a cell fitted to its block, SetAutoScale(int, int, bool), the one that fits those extents into the cell less its margins: a block 10 by 40 in a cell 30 wide and 8 high is drawn at 0.125; an ATTRIB follows the INSERT for each attribute definition of the block that is not constant, with the value the cell gives it or its own words; a block whose definitions the drawing's fonts measure is aligned by the box of their words in Arial and fitted by the wider of that and the box of the words in the definitions' own fonts), all on layer 0. Each look is the cell's own, else the table's own of its kind of row, else its table style's (DxfTableStyle), else AutoCAD's Standard's. A table that names no block of the drawing, or one another entity names too, is given a block of its own. The table of rows 10, 8 and 8 high and columns 40 and 30 wide, its title merged across, is drawn with 6 lines and 4 texts.

RemoveAllOverrides(int, int)

Takes away all a cell holds of its own over its table style, as AutoCAD's RemoveAllOverrides: its alignment, background, colours, text style and height, and the colours, lineweights and showing of its borders, their groups wherever they stand outside its value (AutoCAD 2021 writes them before its 92, the library after its value), their 18 flags and the edges of its edge flags (172), as AutoCAD 2021's own wrote the cell (1, 0) of 170 5, 7 GH_TXT and 140 3.5 before its 92 as 91 262144 and nothing else, and a cell of 172 9 as 172 0 (D28c x1 to x3); a flag the file gives no groups for, as that of its kind of value (0x40000), is kept, but by a block cell. The turn of its text or block (145) is made nought, and a cell of a row of the title's or the header's kind out of its place keeps the looks of its kind, the title moved down by a row put in before it 170 5 and 140 6.0, as does a row put in taking the title's look while the title is shown, as AutoCAD 2021 wrote them (D33e t04, t08, t09, m07, n07, n09). A cell of a row of data that a row put in before the first row of data took the table's own looks of the data from keeps them while the drawing is open, as AutoCAD 2021 kept GH_TXT, red, 9 and top left in B-12 and M12 (D33f a01, a10). The block AutoCAD drew the table with is not drawn anew. The cell's groups alone are written, the rest of the record copied as it is: the overrides of every cell of a table of 403 rows taken away one by one in about 2 s, where writing the whole record each time took 6.

RemoveDataLink()

Takes every data link of the table away, as AutoCAD's RemoveDataLink(): each top left cell's link groups taken out and its 92 made even, in the TABLECONTENT, where the flag 4 of a linked cell is cleared too from the state of every cell of the range, and in the cells of the ACAD_TABLE, in one writing of each record. AutoCAD 2021 read the cell (2, 1) of a range linked over (1, 0) to (2, 1), left with its state 4 when the link was taken away, as linked with no range, and saved it so (its 73-n); no cell of the range is left so. A cell of the flag 4 outside every range, which AutoCAD reads as not linked (73-m), is left as it is. The DATALINK let go of stays in the drawing, in the dictionary of data links, named or anonymous (Anonymous), as AutoCAD 2021's RemoveDataLink keeps it, the table and what it owns taken out of the objects it lists itself tied to (its 94 and their 330s): AutoCAD's link of the table F6 alone, 94 2, 330 F6, 330 149, comes out 94 0. The cells keep what they hold. Nothing where the table has none.

RemoveDataLink(int, int)

Takes away the data link of the range a cell is in, as AutoCAD's RemoveDataLink(row, column), as RemoveDataLink() takes every one away, the flag 4 cleared from every cell of the range: the first range by its top left cell, row by row, that holds the cell. Nothing where it is in none.

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.

RowHeight(int)

Gets the height of a row (the row's group 141), as AutoCAD's RowHeight: 10 for the title row of the table above.

RowType(int)

Gets what a row is, as AutoCAD's RowType tells it: the first the title and the next the header, each where the table does not leave it out (IsTitleSuppressed, IsHeaderSuppressed), the rest data. A row put in before the title or the header leaves it out, as AutoCAD 2021 writes it (InsertRows(int, double, int)), so that the table given a row before its title reads every row as data, as AutoCAD read it (D28d r1); the title or the header taken out leaves it out too (DeleteRows(int, int)).

SetAlignment(int, int, DxfCellAlignment)

Sets where a cell's content stands, as AutoCAD's SetAlignment(row, col, align): the cell's own (170), its flag 1 set in its 177 (91 from R2007 on). The block AutoCAD drew the table with is not drawn anew.

SetAutoScale(int, int, bool)

Sets whether a block cell's block is fitted to the cell, as AutoCAD's SetAutoScale: its 174, 1 or 0. The block AutoCAD drew the table with is not drawn anew.

SetBackgroundColor(int, int, DxfColor)

Sets the colour of a cell's background, as AutoCAD's SetBackgroundColor(row, col, color): the cell's own (63, of the index), its flag 0x04 set; whether the background is filled is SetBackgroundColorNone(int, int, bool)'s, left as it is. The block AutoCAD drew the table with is not drawn anew.

SetBackgroundColorNone(int, int, bool)

Sets whether a cell's background is left unfilled, as AutoCAD's SetBackgroundColorNone(row, col, value), as AutoCAD 2021 wrote it in a drawing of R2018 and of R2000 alike (D28e v18, v47, m1, w18): filled, the cell's own 283 of 0 with the flag 0x02 and a colour of its own (63, flag 0x04), BYBLOCK (63 0) where it has none; unfilled, its 283 and 63 and their flags taken out where its row's kind is unfilled by the table and its style, as AutoCAD read Qty given green and then none as of no background of its own, else 283 of 1 and 63 0, as AutoCAD wrote the header cell Mark of a table whose header is green. The library wrote 283 of 1 for filled and 0 for unfilled, which AutoCAD read the other way about. The block AutoCAD drew the table with is not drawn anew.

SetBlockAttributeValue(int, int, DxfAttributeDefinition, string)

Sets the value a block cell gives an attribute of its block, as AutoCAD's SetBlockAttributeValue: the 300 after the 331 that points at the definition; the block AutoCAD drew the table with is not drawn anew.

SetBlockRotation(int, int, double)

Sets the turn of a block cell's block (its 145), as AutoCAD's SetBlockRotation, in radians; the block AutoCAD drew the table with is not drawn anew.

SetBlockScale(int, int, double)

Sets the scale of a block cell's block (its 144), as AutoCAD's SetBlockScale; the block AutoCAD drew the table with is not drawn anew.

SetBlockTableRecord(int, int, DxfBlockTableRecord, bool)

Puts a block into a cell, as AutoCAD's SetBlockTableRecordId(row, column, blockId, autoFit): a text cell made a block cell (171 of 2), its text, value and field taken out (ResetValue(int, int)), its block (340), its scale (144, 1), the count of its attributes (179) and, for each attribute definition of the block that is not constant, the definition (331) and the value the cell gives it (300, the definition's own text), put before the value as AutoCAD 2021 writes them; a block cell given another block takes the new one's attributes in place of the old one's, its scale and turn kept. The cell is fitted to its block (the flag 174) where autoFit asks. The cell's content in the TABLECONTENT, where the table has one, is emptied as ResetValue(int, int) empties a block cell. The block AutoCAD drew the table with is not drawn anew.

SetCellState(int, int, DxfCellState)

Sets the state of a cell, as AutoCAD's SetCellState(row, column, state): Content Locked (1) and Format Locked (16) written into the cell's state in the TABLECONTENT, the flag Linked of a linked cell kept as it is whatever the state given says. A table of no TABLECONTENT is given one first, of cells of no content, as SetDataLink(DxfCellRange, DxfDataLink) gives it one: the XRECORD of ACAD_ROUNDTRIP_2008_TABLE_ENTITY, the table listed in ACDB_RECOMPOSE_DATA, without which AutoCAD reads none. Nothing is written where the cell is in that state already. A table, its cell and the state it keeps are written to a DXF or a DWG as they stand; the library itself refuses nothing a locked cell holds, so that its own edits, and Excel-style ones such as the viewer's, check GetCellState(int, int) first.

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.

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.

SetColumnWidth(double)

Sets the width of every column, as AutoCAD's SetColumnWidth(width).

SetColumnWidth(int, double)

Sets the width of a column (its 142), as AutoCAD's SetColumnWidth; the block AutoCAD drew the table with is not drawn anew.

SetContentColor(int, int, DxfColor)

Sets the colour of a cell's content, as AutoCAD's SetContentColor(row, col, color): the cell's own (64, of the index), its flag 0x08 set. A colour of the index, BYLAYER, BYBLOCK or the foreground (7). The block AutoCAD drew the table with is not drawn anew.

SetContentColor(int, int, int, DxfColor)

Sets the colour of a content of a cell, as AutoCAD's SetContentColor(row, column, contentIndex, color): of its one content, nought, as SetContentColor(int, int, DxfColor).

SetDataFormat(int, int, int, string)

Sets the format of a content of a cell, as AutoCAD's SetDataFormat(row, column, contentIndex, format): of its one content, nought, as SetFormat(int, int, string).

SetDataFormat(int, int, string)

Sets the format of a cell's value, as AutoCAD's SetDataFormat(row, column, format): as SetFormat(int, int, string).

SetDataLink(DxfCellRange, DxfDataLink)

Links a range of cells to a data link of the drawing, as AutoCAD's SetDataLink(range, id, update) puts one in: in the TABLECONTENT AutoCAD keeps for the table, the range's top left cell given the flag 4 of a linked cell in its state, its 92 after its custom data made odd and the run after it AutoCAD writes, the DATALINK's handle (340), the range's rows (93) and columns (94) and 96 1; the DATALINK tied to the table and to its TABLECONTENT, their handles (330) put after those it is tied to already and its count (94) made to agree. AutoCAD 2021 linked the table F6 at (1, 0) so: its TABLECONTENT 187's cell (1, 0) of 90 4, 92 1, 340 142, 93 1, 94 1, 96 1, and the DATALINK 142 of 94 2, 330 F6, 330 187; it took the cells of the ACAD_TABLE where the checksum of the TABLECONTENT's did not agree with them, and kept the link (its 73-d). The cells keep what they hold: the library does not read the link's source, so its data come in when AutoCAD updates the link, as update asks AutoCAD to. Nothing where the range is linked so already. A table of no TABLECONTENT, as a program other than AutoCAD writes one, is given one first, as AutoCAD 2021 gave the ezdxf table of its 73 one when it linked it: an XRECORD of ACAD_ROUNDTRIP_2008_TABLE_ENTITY under ACAD_XREC_ROUNDTRIP in its extension dictionary, the TABLECONTENT of its columns and rows, each cell of no content, the table and its style listed in ACDB_RECOMPOSE_DATA, without which AutoCAD reads no TABLECONTENT, and the class TABLECONTENT; AutoCAD 2021 read the library's link of (1, 0) so made, in R2018 and R2007. A range of several cells so linked, its cells of no content, AutoCAD reads linked at every cell, as IsLinked(int, int) does. A table whose TABLECONTENT the drawing's ACDB_RECOMPOSE_DATA does not list is listed there, the record made where it has none, as AutoCAD reads no link of another; the links its TABLECONTENT names read from then on, and a range that meets one is refused.

SetDataLink(int, int, DxfDataLink)

Links a cell to a data link of the drawing, as AutoCAD's SetDataLink(row, column, id, update): the range of that one cell linked, as SetDataLink(DxfCellRange, DxfDataLink) links one.

SetDataType(int, int, DxfDataType, DxfUnitType)

Sets the kind of a cell's value and what its number measures, as AutoCAD's SetDataType(row, col, dataType, unitType): its value's 90 and 94, from R2007 on, as AutoCAD 2021 turned each value (D33 d1 to d12, t1 to t16). A whole number becomes the number 7, shown 7.000000, or the text 7; a number the whole number it holds cut towards nought, 12.7 12 and -12.7 -12, one beyond 32 bits -2147483648, or the text it shows, 12.500000; a text the whole number it reads, 12 of " 12 " and of 12.25, or the number it reads, shown in the drawing's units and given the format %lu6 of them, 12.0000 of 12 where LUNITS is 2 and LUPREC 4, or %lu1 of powers of ten for a text written in them, 1.0000E+03 of 1e3. Each takes away the flag 2 of the value (93 6 made 4) but a text of a whole number made that number. A value not of the new kind, the text B-12 for a number, becomes a value of none of that kind, 93 7, an empty text, its unit not written; a value of none stays one, its flag 2 taken away (93 5). AutoCAD refuses no kind; a kind other than a text, a whole number and a number is refused here, the library knowing no groups for it: the DXF reference does not describe a cell's value. The unit alone is written in place, the value kept; a unit of several flags, as Angle | AngleNotTransformed (65 538), is written as it is. No flag of the cell's overrides is set, its 0x40000 among them: the kind is written in its value, and GetOverrides(int, int, int) gives what it gave. A drawing's units of engineering or fractions are not written by the library: a text read as a number in them is written as the invariant culture writes it.

SetDataType(int, int, int, DxfDataTypeParameter)

Sets the kind of a content of a cell's value with what its number measures, as AutoCAD's SetDataType(row, column, contentIndex, dataType): of its one content, nought, as SetDataType(int, int, DxfDataType, DxfUnitType).

SetFieldCode(int, int, int, string)

Gives a text cell a field, as AutoCAD's SetFieldId(row, column, fieldId, flag) does: a FIELD of the code, owned by the table, the cell's 344 pointed at it, as SetFormula(int, int, int, string) writes a formula, the field the cell had before erased where nothing else holds it. The cell's value is left as it is, for SetFieldValue(int, int, object) to give it the words the field comes to.

SetFieldValue(int, int, object)

Sets what a cell with a field (SetFieldCode(int, int, int, string), SetFormula(int, int, int, string)) shows, as AutoCAD 2021 keeps the words a field came to in its cell: the value written as SetValue(int, int, object) writes one, a number a Double or Long, any other words a text, the cell's 344 left as it is, so that the field is still there to be evaluated again. Nothing is written where the cell shows that already.

SetFormat(int, int, string)

Sets the format of a cell's value, as AutoCAD's SetFormat(row, col, format): its value's 300, as AutoCAD writes it, %lu2%pr2 for a decimal of two places, the value kept; the text of a number of its kind Double written as AutoCAD 2021 wrote it, of the places a decimal format gives, 12.500 for %lu2%pr3, in feet and inches for an architectural format, 1'-0 1/2" for 12.5 in %lu4%pr2 (D33 u1 to u8; to the nearest 1/2^N of an inch, %zs1 and %zs2 leaving out nought feet and nought inches), and in the other units as AutoCAD 2021 showed them (T1 to T4): %lu1 powers of ten, 1.23E+01 for 12.3456 of %lu1%pr2, %lu3 feet and decimals of an inch, 1'-0.35" of %lu3%pr2 (with %zs1 and %zs2 as for feet and fractions) and %lu5 fractions, 12 1/4 of %lu5%pr2; %lu6 takes the drawing's units (LUNITS), and a format of no %prN the drawing's places (LUPREC); of six places where the format is taken away (D28e v11), any other text kept, the library not formatting the value of a format of another kind, nor one of more feet than 32 bits hold. A date keeps its format and shows in it, as Text(DateTime, string, CultureInfo) shows it (D41). The value loses its flag 2 (93 6 made 4), as AutoCAD 2021 wrote it. Only a number keeps a format: a whole number, a text or a value of another kind is written with none and its flag 2 taken away, the 7 given %lu2%pr2 still shown 7; a value of none becomes the empty one of no kind (93 5, 90 512), even for an empty format; a block cell keeps no format and loses the flag of its kind of value (0x40000) alone (D33b s01 to s19). No other flag of the cell's overrides is set, and GetOverrides(int, int, int) gives what it gave. A cell before R2007 holds no value to give a format.

SetFormula(int, int, int, string)

Sets the formula of a cell, as AutoCAD's SetFormula, from R2004 on, which brought fields: a FIELD added at the end of the OBJECTS section, owned by the table, of the evaluator AcExpr and the field code \AcExpr (A1+B1) for =A1+B1, written as DxfField writes a field made in code (marked not yet worked out, its status 95 of 1), the class FIELD listed in the CLASSES section where it is not, and the cell's 344 pointed at it. The cell's value is left as it is, for AutoCAD to work out when it evaluates the field; the field the cell pointed at before is erased with its children where the table owns it and nothing else of the file points at it. Nothing is written where the cell holds that formula. The block AutoCAD drew the table with is not drawn anew.

SetFromStyle()

Takes away what the table and its cells hold of their own over the table style, as AutoCAD's SetFromStyle gives an object the look of its style: as ClearTableStyleOverrides(int) of 0 does, the table's flags 93 to 96 set to nought, its own groups after its last cell and the overrides of every cell taken out; nothing where it holds none. The block AutoCAD drew the table with is not drawn anew.

SetGridColor(DxfColor, DxfGridLineType, DxfRowType)

Sets the colour of lines of the rows of kinds, as AutoCAD's SetGridColor(color, borders, rows): the table's own of each line and kind, of the index, written in place or put in its head after its flags in the order AutoCAD writes them, its flag set in 94, as AutoCAD 2021 wrote and read them in a drawing of R2018 and of R2000 alike, where it read those the library put in after the last cell as none (D28e v27); after the last cell only where the table holds its own there already: the title's lines across the top and inside, SetGridColor(color, HorizontalTop | HorizontalInside, TitleRow), set the flags 1 and 2. The cells' own edges are left as they are. The block AutoCAD drew the table with is not drawn anew.

SetGridColor(int, int, DxfGridLineType, DxfColor)

Sets the colour of lines of a cell, as AutoCAD's SetGridColor(row, column, gridLineType, color): the cell's own of each edge the lines name (top 69, right 65, bottom 66, left 68), of the index, its flag (0x40 to 0x200) set in its 177 (91 from R2007 on), and the edge in the cell's edge flags (172: 1 top, 2 right, 4 bottom, 8 left), without which AutoCAD 2021 reads no line of a cell, wherever its group stands: the bottom of (1, 1) set red, 172 4 and 66 1; OuterGridLines gives all four, the lines inside, a block's, none of a cell alone. AutoCAD writes a line between two cells as the top or the left of the cell below or right of it, and reads it from that cell where it holds the line (GetGridColor(int, int, DxfGridLineType)): the bottom or right of a cell set is set on that cell too where it holds the line, so that the bottom of (1, 1) set red reads red beside a top of (2, 1) green; and a top or left the cell does not hold takes first the properties of the line the cell above or left of it holds, so that it keeps those not set. Set on the top left cell of a block of merged cells, a line is given to the cells along the block as AutoCAD reads a block from a file: the top (and the left) along its first row (column), the bottom along a block of one row and the right along one of one column, a line another cell holds of its own kept: the top of (1, 1) merged with (1, 2) set 50 reads 50 at (1, 2) too. The block AutoCAD drew the table with is not drawn anew.

SetGridLineWeight(DxfLineWeight, DxfGridLineType, DxfRowType)

Sets the lineweight of lines of the rows of kinds, as AutoCAD's SetGridLineWeight(lineWeight, borders, rows): the table's own (274 to 279), its flag set in 95, as SetGridColor(DxfColor, DxfGridLineType, DxfRowType) sets a colour.

SetGridLineWeight(int, int, DxfGridLineType, DxfLineWeight)

Sets the lineweight of lines of a cell, as AutoCAD's SetGridLineWeight(row, column, gridLineType, lineWeight): the cell's own of each edge the lines name (top 279, right 275, bottom 276, left 278), its flag (0x400 to 0x2000) set, as SetGridColor(int, int, DxfGridLineType, DxfColor) sets a colour.

SetGridProperty(DxfCellRange, DxfGridLineType, DxfGridPropertyParameter)

Sets properties of the lines of a block of cells, as AutoCAD's SetGridProperty(rangeIn, gridLineTypes, gridProp): the lines round the block on the outer edges of its outer cells, and the lines inside on the edges of the cells either side of each, so that the range (1, 0) to (2, 1) given HorizontalInside sets the bottom edges of (1, 0) and (1, 1) and the top edges of (2, 0) and (2, 1). The cells are written in one writing of the record, so that the lines of a table of 16 000 rows are set in time linear in its groups.

SetGridProperty(int, int, DxfGridLineType, DxfGridPropertyParameter)

Sets properties of lines of a cell, as AutoCAD's SetGridProperty(row, column, gridLineType, gridProperty): those the mask names, each as its own setter writes it; a mask of the line style, the linetype or the spacing of a double line, for which a file of these versions has no groups, is refused.

SetGridVisibility(bool, DxfGridLineType, DxfRowType)

Sets whether lines of the rows of kinds are drawn, as AutoCAD's SetGridVisibility(visible, borders, rows): the table's own (284 to 289, 1 drawn and 0 not), its flag set in 96.

SetGridVisibility(int, int, DxfGridLineType, bool)

Sets whether lines of a cell are drawn, as AutoCAD's SetGridVisibility(row, column, gridLineType, visibility): the cell's own of each edge the lines name (top 289, right 285, bottom 286, left 288), 1 drawn and 0 not, its flag (0x4000 to 0x20000) set and the edge in the cell's edge flags (172), as SetGridColor(int, int, DxfGridLineType, DxfColor).

SetIsAutoScale(int, int, int, bool)

Sets whether a content of a cell is fitted to the cell, as AutoCAD's SetIsAutoScale(row, column, contentIndex, autoFit): of its one content, nought, as SetAutoScale(int, int, bool).

SetOverrides(int, int, int, DxfCellProperties)

Gives a content of a cell the overrides named of its own over its table style, as AutoCAD's SetOverrides(row, column, contentIndex, override) does (D33 o1 to o14, o20 to o28, and D28e v42): its flags made those named, the alignment (flag 1) and background (2 and 4) of the cell kept where it holds them, as AutoCAD keeps them whatever is named. One named it does not hold is given the value AutoCAD gives it: the alignment its row shows, the header's middle centre (170 5) of AutoCAD's Standard; a background of none (63 0, 283 1); the colour by block (64 0); the text height of its content's own format, 0.18 (140 0.18), not the 4.5 the cell showed; a text style of none, its flag alone; and its kind of value (DataType or DataFormat, the flag 0x40000), its flag alone. The colour, text style, height and kind of value not named are taken away, their groups and flags, so that the cell takes them from its table style; the others named, as its margins or its turn, write nothing. Qty of flags 262 144 given TextHeight is written 91 32 and 140 0.18; Mark of 170 5, GH_TXT and 3.5 given Invalid keeps its alignment alone, 91 1. The block AutoCAD drew the table with is not drawn anew.

SetRotation(int, int, int, double)

Sets the turn of a cell's content, as AutoCAD's SetRotation(row, column, contentIndex, angle): its 145, in radians, of a text cell or a block cell, as GetRotation(int, int, int) reads it. The block AutoCAD drew the table with is not drawn anew.

SetRowHeight(double)

Sets the height of every row, as AutoCAD's SetRowHeight(height).

SetRowHeight(int, double)

Sets the height of a row (its 141), as AutoCAD's SetRowHeight; the block AutoCAD drew the table with is not drawn anew.

SetScale(int, int, int, double)

Sets the scale of a content of a cell, as AutoCAD's SetScale(row, column, contentIndex, scale): of its one content, nought, a block cell's, as SetBlockScale(int, int, double).

SetSize(int, int)

Gives the table a number of rows and of columns, as AutoCAD's SetSize: rows and columns taken out from the bottom and the right, or put in there, each new row 4/3 of the text height the table style gives the data and twice the margin above and below a cell's content (VerticalCellMargin), 9 for AutoCAD's Standard of 4.5 and 1.5 whatever the rows above, as AutoCAD 2021 made them (D28d h1 to h9), the first row put into a table of one row the header, shown again where the table had left it out, as InsertRows(int, double, int) puts it in (D28e s4 to s6), rows taken out leaving the kinds of those left as DeleteRows(int, int) does, and each new column as wide as AutoCAD 2021 made one, the text height of its first row whose new cell is merged with none (the header, where the title is merged across the table) and the margins either side of a cell's content (7.5 for AutoCAD's Standard, 4.5 and 1.5; 9 where the title is unmerged, its 6; 1 in a table of one row, its title merged across it, D28c w1), of empty text cells, those of the new columns given the looks their rows keep, as InsertColumns(int, double, int) gives them, those of the new rows none, as AutoCAD 2021 kept none with a row its SetSize put in (D33g e01, g05); the title merged across every column is merged anew over the new ones, as InsertColumns(int, double, int) merges it (D28d g4), and no other block grows, a column merged down to the last row nor a title merged across some of the columns (D28c w3, m1); blocks of merged cells and ranges linked to data cut where they reach past the new size, in the TABLECONTENT too, as InsertRows(int, double, int) and DeleteRows(int, int) write it. Nothing is written where the table is of that size. The table of 3 rows and 2 columns given 5 and 2 has two more rows 9 high; given 3 and 3, a column 7.5 wide, its title across the three.

SetTextHeight(int, int, double)

Sets the height of a cell's text, as AutoCAD's SetTextHeight(row, col, height): the cell's own (140), its flag 0x20 set. The block AutoCAD drew the table with is not drawn anew.

SetTextHeight(int, int, int, double)

Sets the height of the text of a content of a cell, as AutoCAD's SetTextHeight(row, column, contentIndex, height): of its one content, nought, as SetTextHeight(int, int, double).

SetTextRotation(int, int, DxfRotationAngle)

Sets the turn of a cell's text, as AutoCAD's SetTextRotation: its 145, a quarter turn at a time, pi / 2 for Degrees090. The block AutoCAD drew the table with is not drawn anew.

SetTextString(int, int, int, string)

Sets the text of a content of a cell, as AutoCAD's SetTextString(row, column, contentIndex, text): of its one content, nought, as SetTextString(int, int, string).

SetTextString(int, int, string)

Sets the text of a cell, as AutoCAD's SetTextString: before R2007 its groups written anew, as AutoCAD 2021 writes them, the text in pieces of 250 letters in groups 3, the last in 1, a letter the file's code page lacks written as its escape within its piece and an escape given counted as its one letter, so that 300 D with stroke, given as letters or as escapes, are a 3 of 250 escapes and a 1 of 50 (AutoCAD reads a cell in groups 2 as empty, and the escapes of each piece alone); from R2007 on its value written as a text (90 of 4), in pieces of 2 and a last 1, and its text in pieces of 303 and a last 302, the value's flags (93) made 6 where they had the flag 1 of no value, which AutoCAD 2021 reads as none whatever the text (a block cell made a text cell and given M16 read empty), and the cell given the flag of its kind of value (91 262144) where it has it not, as AutoCAD 2021 gave a cell reset (D33e w10). An empty text is, from R2007 on, the value of none ResetValue(int, int) leaves, as AutoCAD 2021 wrote it (93 7, 90 0, the flag 0x40000 taken out, D33c r09, D33d s01 to s10), the looks of the content gone with it as there, whatever the cell held: B-12, 1.5 or the empty text of the title's hidden cell given an empty text are of no value. A pointer to a field (344) is taken out, the text being the cell's own now, and the field erased with its children where the table owns it and nothing else of the file points at it, a copy of the table among them. The words the cell has, as they are written or as they read, change nothing. The block AutoCAD drew the table with is not drawn anew.

SetTextStyle(int, int, DxfTextStyleTableRecord)

Sets the text style of a cell's text, as AutoCAD's SetTextStyle(row, col, id) takes its id: the cell's own (7, by name), its flag 0x10 set; table.SetTextStyle(1, 0, db.TextStyleTable["GH_TXT"]) writes 7 GH_TXT. A cell that has a 7 already has it written in its place, as each override of a cell is, before its 92 where AutoCAD 2021 writes one, so that the cell holds one 7: a second after its value AutoCAD read, and the library the first. The block AutoCAD drew the table with is not drawn anew.

SetValue(int, int, int, object)

Sets the value of a content of a cell, as AutoCAD's SetValue(row, column, contentIndex, value): of its one content, nought, as SetValue(int, int, object).

SetValue(int, int, object)

Sets the value of a cell, as AutoCAD's SetValue(row, col, value): a string a text, an int, short, byte or a long within the 32 bits AutoCAD's whole number holds a Long, a double or float a Double. From R2007 on the value is written of its kind (90), in 91, 140 or 1, its text (302) the number as the invariant culture writes it, 7, its unit (94) kept and its format (300) taken away, as AutoCAD 2021 wrote 100.125 given to a cell of 1 in %lu4%pr3 (D33 u7), its flags (93) made 6 where they had the flag 1 of no value, as AutoCAD writes a value it is given, and the cell given the flag of its kind of value (0x40000) where it has it not, a cell reset or read of no value written 91 262144 as AutoCAD 2021 wrote it (D33e w01, w03 to w06); the text of a number of its kind Double as AutoCAD 2021 wrote it and showed it, of six places of decimals, 12.500000 for 12.5 (D28e v09, w30 to w33), where the library wrote 12.5, which AutoCAD showed as it was. Before R2007 a cell holds a text alone, and the value is written as its text, as SetTextString(int, int, string) writes one, a number as the invariant culture writes it, 12.5, which keeps it whole where AutoCAD 2021 wrote 12.500000 (w09): the text is all the cell holds. A pointer to a field (344) is taken out, its field erased where the table owns it and nothing else of the file points at it. The value the cell has, a text as the file writes it or as it reads, changes nothing. The block AutoCAD drew the table with is not drawn anew.

TableStyleOverrides()

Gets what the table holds of its own over its table style, as AutoCAD's TableStyleOverrides: by the flags of its head, 93 bit k the override numbered k + 1 (TitleSuppressed to DataRowDataType), the colours of its borders 94 from 40 on, their lineweights 95 from 70 on and their showing 96 from 100 on; a table of 93 of 0x08 holds HorizontalCellMargin. The overrides of its cells are CellStyleOverrides(int, int)'s.

TextHeight(int, int)

Gets the height of a cell's text, as AutoCAD's TextHeight: the cell's own (140); null where it has none.

TextRotation(int, int)

Gets the turn of a cell's text, as AutoCAD's TextRotation: its 145, a quarter turn at a time, Degrees090 for pi / 2; DegreesUnknown for an angle not within Default (of a vector, 1E-5) of a quarter turn.

TextString(int, int)

Gets the text of a cell, as AutoCAD's TextString: from R2007 on the text of its value, its pieces (303) and its last (302) one after another, before R2007 its groups 3 or 2 and 1, each escape of four digits read as the letter it stands for, as AutoCAD 2021 reads it, B\U+0110 giving BĐ, and each multibyte code of a letter of two bytes (\M+) that letter; empty for a cell of no text, as a block cell.

TextStringConst(int, int)

Gets the text of a cell as the file holds it, as AutoCAD's TextStringConst: the same as TextString(int, int).

TextStringForEditing(int, int)

Gets the text of a cell as the editor opens it, as AutoCAD 2021's GetTextString(FormatOption.ForEditing): a number as it is to 16 figures, its zeros and the places of its format left off, 1.5 for a cell that shows 1.5000, 0.333333333333333 for a third, 1.000000000000000E+03 for 1000 in powers of ten, 10923/32768 for a third in fractions, 1'-0 1/2" for 12.5 in feet and inches and 1, 5, 0 for a point; the format's unit is its %lu (6, the drawing's, follows LUNITS) and a cell of none is in decimals. The thousands, prefix and suffix of a format are left out. A date is the date alone where it has no time, the time alone where it is on the day of a time (30 December 1899) and both otherwise, whatever its format: 1/1/2020, 12:30:00 PM, 1/1/2020 12:30:00 PM in the culture of the machine. Any other cell, a text, a block or one before R2007, gives its TextString(int, int).

TextStyle(int, int)

Gets the text style of a cell's text, as AutoCAD's TextStyle gives its id: the cell's own (7, by name); null where it has none, or names one the drawing has not.

TryFindCellState(DxfCellRange, DxfCellState, out int, out int)

Finds the first cell of a range, row by row, whose state holds any of the flags given, as a check of a whole range in one reading of the TABLECONTENT where GetCellState(int, int) reads it once for each cell: the Table Cell tab asks it before it edits cells. A table with no TABLECONTENT holds no state, and is answered at once.

UnitType(int, int)

Gets what a cell's number measures, as AutoCAD's UnitType(row, col): from R2007 on its value's 94; Unitless where it gives none, and before R2007.

UnmergeCells(DxfCellRange)

Unmerges the blocks of merged cells a range meets, as AutoCAD's UnmergeCells: each cell of them marked unmerged (173 of 0), the top left cell of each block given 175 1 and 176 1, as AutoCAD 2021 wrote it (D33e w08), each showing its own content again, and taken out of the merged ranges the table's TABLECONTENT lists; nothing where the range meets no block. The block AutoCAD drew the table with is not drawn anew.

Value(int, int)

Gets the value of a cell, as AutoCAD's Value: from R2007 on of the kind its value says (90: 1 a long, 2 a double, 4 a text, 8 a date), an int, a double, a string or a DateTime; before R2007 its text. A text is read as TextString(int, int) reads it, its escapes as letters. A date or a time is the DateTime AutoCAD 2021 gave (the console's Value): 1/1/2020 12:30 the 1st of January 2020 at 12:30, 12:30 alone the 30th of December 1899 at 12:30, to the second.