TXlsCellRange.CalcTopCell Method
Returns the minimum top and left coordinates for an array of ranges. If for example you have C7 and D5, this method will return C5
Syntax
Namespace: FlexCel.Core
public static TCellAddress CalcTopCell(TXlsCellRange[] ranges, Boolean ResultBase1)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
ranges | TXlsCellRange[] | An array of ranges, 1 based. | |
ResultBase1 | Boolean | If true, the address will be in base 1 (1, 1 is the top cell). If false, (0, 0) will be the top cell for the returned address. |