Class VerticalPageBreak

VerticalPageBreak class

Encapsulates the object that represents a vertical page break.

public class VerticalPageBreak

Properties

NameDescription
Column { get; }Gets the column index of the vertical page break.
EndRow { get; }Gets the end row index of the vertical page break.
StartRow { get; }Gets the start row index of the vertical page break.

Examples

[C#]
Workbook excel = new Workbook();
//Add a pagebreak at G5
excel.Worksheets[0].HorizontalPageBreaks.Add("G5");
excel.Worksheets[0].VerticalPageBreaks.Add("G5");

[VB]
Dim excel as Workbook = new Workbook()
'Add a pagebreak at G5
excel.Worksheets(0).HorizontalPageBreaks.Add("G5")
excel.Worksheets(0).VerticalPageBreaks.Add("G5")

See Also