Class MergedRange
- Namespace
- SheetStream.Reading
- Assembly
- SheetStream.dll
A rectangle of merged cells read from a sheet. Only the top-left cell of a merge carries a value.
public sealed class MergedRange
- Inheritance
-
MergedRange
- Inherited Members
Properties
FromColumn
1-based first column of the merge (column A is 1).
public int FromColumn { get; }
Property Value
FromRow
1-based first row of the merge.
public int FromRow { get; }
Property Value
Range
The merge in A1 form, such as "A1:D1".
public string Range { get; }
Property Value
ToColumn
1-based last column of the merge.
public int ToColumn { get; }
Property Value
ToRow
1-based last row of the merge.
public int ToRow { get; }
Property Value
Methods
Contains(int, int)
True when the 1-based cell lies inside the merge (its top-left cell included).
public bool Contains(int row, int column)
Parameters
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.