Table of Contents

Class CadSheet

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A block of spreadsheet cells, a sheet or a range of one, as a data link reads it: its rows and columns, from the first cell of the block, and what each holds. A row shorter than the widest reads as empty beyond its end.

public sealed class CadSheet
Inheritance
CadSheet
Inherited Members

Constructors

CadSheet(string)

Makes a sheet.

Properties

ColumnCount

Gets the number of columns: those of the widest row.

this[int, int]

Gets the cell at a row and a column, from nought; an empty cell where the sheet has none there.

Name

Gets the name of the sheet.

RowCount

Gets the number of rows.

Methods

Cut(CadSheetRange)

Gives a block of the sheet, as a data link's range cuts one: its rows and columns, an end below nought meaning the sheet's last row or column.

Set(int, int, CadSheetCell)

Puts a cell, the sheet growing to hold it.