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