Excel for WPF | ComponentOne
C1.WPF.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 Integer, _
       ByVal rowTo As Integer, _
       Optional ByVal colFrom As Integer, _
       Optional ByVal colTo As Integer _
    ) 
    public void SetRangeToRepeat( 
       int rowFrom,
       int rowTo,
       int colFrom,
       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