Method SetRowHidden
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
SetRowHidden(int, bool)
Hides or shows a row, as Excel's Hide and Unhide do. Its height is kept.
public void SetRowHidden(int row, bool hidden)
Parameters
Exceptions
- ArgumentOutOfRangeException
The row is outside the worksheet grid.
- InvalidOperationException
The sheet is not a worksheet.
- InvalidDocumentException
The sheet's part is malformed.