Struct CellArea

CellArea structure

Represent an area of cells.

public struct CellArea : IComparable

Methods

NameDescription
static CreateCellArea(string, string)Creates a cell area.
static CreateCellArea(int, int, int, int)Creates a cell area.
CompareTo(object)Compare two CellArea objects according to their top-left corner.
override ToString()Returns a string represents the current cell area object.

Fields

NameDescription
EndColumnGets or set the end column of this area.
EndRowGets or set the end row of this area.
StartColumnGets or set the start column of this area.
StartRowGets or set the start row of this area.

Examples


[C#]

//Create Cell Area
CellArea ca = new CellArea();
ca.StartRow = 0;
ca.EndRow = 0;
ca.StartColumn = 0;
ca.EndColumn = 0;

[VB.NET]

'Create Cell Area
Dim ca As CellArea = New CellArea()
ca.StartRow = 0
ca.EndRow = 0
ca.StartColumn = 0
ca.EndColumn = 0

See Also