VerticalPageBreak Class

Encapsulates the object that represents a vertical page break.
Inheritance Hierarchy
SystemObject
  Aspose.CellsVerticalPageBreak

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.1.0.0 (20.1)
Syntax
public class VerticalPageBreak

The VerticalPageBreak type exposes the following members.

Properties
  NameDescription
Public propertyColumn
Gets the column index of the vertical page break.
Public propertyEndRow
Gets the end row index of the vertical page break.
Public propertyStartRow
Gets the start row index of the vertical page break.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Examples
[C#]
//Add a pagebreak at G5
excel.Worksheets[0].HorizontalPageBreaks.Add("G5");
excel.Worksheets[0].VerticalPageBreaks.Add("G5");

[VB]
'Add a pagebreak at G5
excel.Worksheets(0).HorizontalPageBreaks.Add("G5")
excel.Worksheets(0).VerticalPageBreaks.Add("G5")
See Also