Table of Contents

Class DxfCellRange

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

A block of cells of a table, as AutoCAD's CellRange: from its top row and left column to its bottom row and right column, all counted from nought and taken in. The title of a table of two columns, merged across them, is the range (0, 0) to (0, 1).

public sealed class DxfCellRange : IEquatable<DxfCellRange>
Inheritance
DxfCellRange
Implements
Inherited Members

Constructors

DxfCellRange(int, int, int, int)

Initializes a range, as AutoCAD's CellRange.Create(table, topRow, leftColumn, bottomRow, rightColumn).

Properties

BottomRow

Gets the bottom row, as AutoCAD's BottomRow.

this[int, int]

Gets a cell of the range, as AutoCAD's CellRange indexer: table.Cells[1, 0] is the cell of the second row and the first column, its row and column counted in the table, from nought.

LeftColumn

Gets the left column, as AutoCAD's LeftColumn.

RightColumn

Gets the right column, as AutoCAD's RightColumn.

TopRow

Gets the top row, as AutoCAD's TopRow.

Methods

Equals(DxfCellRange)

Gets whether the range is of the same rows and columns as another.

Equals(object)

Gets whether an object is a range of the same rows and columns.

GetHashCode()

Gets a hash of the rows and columns.

ToString()

Gives the range as a line for debugging: (0, 0)-(0, 1).