Class DxfCell
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A cell of a table, as AutoCAD's Cell: table.Cells[1, 0], or one of the cells a table walks. It reads and
sets the cell through its table, as the table's members of a row and a column do: cell.TextString = "Count" is
SetTextString(int, int, string), and the header cell (1, 0) of flags 49 has
Alignment MiddleCenter and TextHeight 3.5.
public sealed class DxfCell : IEquatable<DxfCell>
- Inheritance
-
DxfCell
- Implements
- Inherited Members
Remarks
A cell's look set to null takes away what the cell holds of its own, as SetOverrides(int, int, int, DxfCellProperties) does, so that it takes it from its table style. Two cells are equal where they are of the same table, row and column.
Properties
- Alignment
Gets or sets where the cell's content stands, as AutoCAD's
Alignment: the cell's own, null where it has none; set, SetAlignment(int, int, DxfCellAlignment), or null to take it away.
- AttachmentPoint
Gets the point the cell's content is placed at, as AutoCAD's
AttachmentPoint: AttachmentPoint(int, int).
- BackgroundColor
Gets or sets the colour of the cell's background, as AutoCAD's
BackgroundColor: the cell's own, null where it has none; set, SetBackgroundColor(int, int, DxfColor), or null to take its background away, its colour and whether it is filled.
- CellType
Gets what the cell holds, as AutoCAD's
CellType: CellType(int, int).
- Column
Gets the column of the cell, from nought, as AutoCAD's
Column.
- ContentColor
Gets or sets the colour of the cell's content, as AutoCAD's
ContentColor: the cell's own, null where it has none; set, SetContentColor(int, int, DxfColor), or null to take it away.
- DataFormat
Gets or sets the format of the cell's value, as AutoCAD's
DataFormat: Format(int, int) and SetFormat(int, int, string).
- DataType
Gets or sets the kind of the cell's value with what its number measures, as AutoCAD's
DataType: GetDataType(int, int, int) and SetDataType(int, int, DxfDataType, DxfUnitType).
- IsBackgroundColorNone
Gets or sets whether the cell's background is left unfilled, as AutoCAD's
IsBackgroundColorNone: the cell's own, null where it has none; set, SetBackgroundColorNone(int, int, bool), or null to take its background away, its colour and whether it is filled.
- Row
Gets the row of the cell, from nought, as AutoCAD's
Row.
- TextHeight
Gets or sets the height of the cell's text, as AutoCAD's
TextHeight: the cell's own, null where it has none; set, SetTextHeight(int, int, double), or null to take it away.
- TextString
Gets or sets the text of the cell, as AutoCAD's
TextString: TextString(int, int) and SetTextString(int, int, string).
- TextStyle
Gets or sets the text style of the cell's text, as AutoCAD's
TextStyleIdgives its id: the cell's own, null where it has none; set, SetTextStyle(int, int, DxfTextStyleTableRecord), or null to take it away.
- Value
Gets or sets the value of the cell, as AutoCAD's
Value: Value(int, int) and SetValue(int, int, object).
Methods
- Equals(DxfCell)
Gets whether the cell is another, of the same table, row and column.
- Equals(object)
Gets whether an object is a cell of the same table, row and column.
- GetExtents()
Gets the corners of the cell, as AutoCAD's
GetExtents: GetCellExtents(int, int, bool) of the cell alone.
- GetHashCode()
Gets a hash of the row and the column.
- GetMergeRange()
Gets the block of merged cells the cell is in, as AutoCAD's
GetMergeRange: GetMergeRange(int, int).
- ResetValue()
Empties the cell's value, as AutoCAD's
ResetValue: ResetValue(int, int), a block cell made a text cell of no value.
- ToString()
Gives the cell as a line for debugging:
(1, 0).