.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Worksheet.FreezePanes Method

Name Parameters Description
FreezePanes(Int32, Int32) rowOffset, columnOffset Freezes the specified number of rows and columns at the top and on the left side of the worksheet.
FreezePanes(Int32, Int32, CellRange) rowOffset, columnOffset, topLeft Freezes the specified number of rows and columns below and to the right of the specified cell, including the row and column containing this cell.