Version

HorizontalPageBreak Constructor(Int32,WorksheetRegion)

Creates a new HorizontalPageBreak instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal firstRowOnPage As System.Integer, _
   ByVal printArea As WorksheetRegion _
)
public HorizontalPageBreak( 
   System.int firstRowOnPage,
   WorksheetRegion printArea
)

Parameters

firstRowOnPage
The 0-based index of the first row on the page after this break.
printArea
The print area in which the page break should occur or null to break in the entire sheet.
Exceptions
ExceptionDescription
System.ArgumentExceptionOccurs when printArea is not null and the firstRowOnPage is outside the print area or the top row index of the print area.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

See Also

View on GitHub