[]
        
(Showing Draft Content)

C1.Excel.XLSheet.SetRangeToRepeat

SetRangeToRepeat Method

SetRangeToRepeat(int, int, int, int)

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.)

Declaration
public void SetRangeToRepeat(int rowFrom, int rowTo, int colFrom = -1, int colTo = -1)
Parameters
Type Name Description
int rowFrom

Index of the first title row (repeated at top).

int rowTo

Index of the last title row (repeated at top).

int colFrom

Index of the first title column (repeated at left).

int colTo

Index of the last title column (repeated at left).