Table of Contents

Class CadSheetRange

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A range of cells in the words of a spreadsheet: A1:D10 a block, B2 one cell, A:A a whole column, A:D a set of columns. Rows and columns count from nought; an end below nought is the sheet's own end.

public sealed class CadSheetRange
Inheritance
CadSheetRange
Inherited Members

Constructors

CadSheetRange(int, int, int, int)

Makes a range.

Properties

BottomRow

Gets the last row, from nought; below nought for the sheet's last.

Everything

Gets the range of the whole sheet.

LeftColumn

Gets the first column, from nought.

RightColumn

Gets the last column, from nought; below nought for the sheet's last.

TopRow

Gets the first row, from nought.

Methods

ColumnName(int)

The name of a column, A for nought, Z for 25, AA for 26.

ToString()

Gives the range in a spreadsheet's words, A1:D10; A:D where it takes whole columns.

TryParse(string, out CadSheetRange)

Reads a range: A1:D10, $A$1:$D$10, B2, A:A or A:D, letters of either case, the two ends in either order.