ExcelFile.CellRangeDimensions Method
Returns the height and width that would be used by a range of cells (in Points, or 1/72 inches).
Syntax
Namespace: FlexCel.Core
public abstract TUIRectangle CellRangeDimensions(Int32 row1, Int32 col1, Int32 row2, Int32 col2, Boolean includeMargins)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| row1 | Int32 | First row (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions. | |
| col1 | Int32 | First column (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions. | |
| row2 | Int32 | Last row (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions. | |
| col2 | Int32 | Last column (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions. | |
| includeMargins | Boolean | If true, the dimensions reported will include all margins in the sheet. |