ExpertXls Excel Library for .NET
FreezePanes Method
Namespaces ► ExpertXls.ExcelLib ► ExcelRange ► FreezePanes()()()
ExpertXls Excel Library for .NET
Freezes panes to keep row and column labels visible when the worksheet is scrolled. To lock rows select the row below where you want the freeze to appear (e.g. The range "A5" will freeze the rows from 1 to 4). To lock columns select the column to the right of where you want the split to appear (e.g. The range "D1" will freeze the columns A, B and C). To lock both rows and columns select the cell below and to the right of where you want the split to appear (e.g. The range "D5" will freeze the rows from 1 to 4 and the columns A, B and C).
Declaration Syntax

C# | Visual Basic | Visual C++

    public void FreezePanes()

    Public Sub FreezePanes

    public:
    void FreezePanes()

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)