ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLSheet Class / SetRangeToRepeat Method
Index of the first title row (repeated at top).
Index of the last title row (repeated at top).
Index of the first title column (repeated at left).
Index of the last title column (repeated at left).

In This Topic
    SetRangeToRepeat Method
    In This Topic
    Specifies the range of rows or/and columns to use as print titles for this worksheet. (Print titles are rows repeated at top, and columns repeated at left of each page when the sheet is printed.)
    Syntax
    'Declaration
     
    Public Sub SetRangeToRepeat( _
       ByVal rowFrom As System.Integer, _
       ByVal rowTo As System.Integer, _
       Optional ByVal colFrom As System.Integer, _
       Optional ByVal colTo As System.Integer _
    ) 
    public void SetRangeToRepeat( 
       System.int rowFrom,
       System.int rowTo,
       System.int colFrom,
       System.int colTo
    )

    Parameters

    rowFrom
    Index of the first title row (repeated at top).
    rowTo
    Index of the last title row (repeated at top).
    colFrom
    Index of the first title column (repeated at left).
    colTo
    Index of the last title column (repeated at left).
    See Also