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.
'Declaration
Public Function GetRangeToRepeat( _
ByRef As System.Integer, _
ByRef As System.Integer, _
ByRef As System.Integer, _
ByRef As System.Integer _
) As System.Boolean
public System.bool GetRangeToRepeat(
out System.int ,
out System.int ,
out System.int ,
out System.int
)
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2