Excel for WPF and Silverlight
GetRangeToRepeat Method

C1.WPF.Excel Namespace > XLSheet Class : GetRangeToRepeat Method
OUT: index of the first title row (repeated at top).
OUT: index of the last title row (repeated at top).
OUT: index of the first title column (repeated at left).
OUT: index of the last title column (repeated at left).
Returns a value indicating whether print titles are specified for this worksheet. (Print titles are rows repeated at top, and columns repeated at left of each page when the sheet is printed.) Output parameters indicate the indices of title rows and columns.
Syntax
'Declaration
 
Public Function GetRangeToRepeat( _
   ByRef rowFrom As System.Integer, _
   ByRef rowTo As System.Integer, _
   ByRef colFrom As System.Integer, _
   ByRef colTo As System.Integer _
) As System.Boolean
public System.bool GetRangeToRepeat( 
   out System.int rowFrom,
   out System.int rowTo,
   out System.int colFrom,
   out System.int colTo
)

Parameters

rowFrom
OUT: index of the first title row (repeated at top).
rowTo
OUT: index of the last title row (repeated at top).
colFrom
OUT: index of the first title column (repeated at left).
colTo
OUT: index of the last title column (repeated at left).

Return Value

True if title rows or columns are specified for this sheet, false otherwise.
See Also

Reference

XLSheet Class
XLSheet Members