public void InsertPageBreak( WorksheetRow row )
Exception | Description |
---|---|
System.ArgumentNullException | Occurs when row is null. |
System.ArgumentException | Occurs when row is at the top edge of the Worksheet. |
If the row is not contained in one of the print areas in the PrintAreas collection, the page breaks added will be as follows: If the row is at the top edge of the Worksheet, an exception will be thrown. If the row is anywhere else in the Worksheet, a horizontal page break will be inserted above the row.
If the row is contained in one of the print areas in the PrintAreas collection, the page breaks added will be as follows: If the row is at the top edge of the print area, no page break will be inserted. If the row is anywhere else in the print area, a horizontal page break will be inserted above the row.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+