Aspose::Cells::VerticalPageBreak class

VerticalPageBreak class

Encapsulates the object that represents a vertical page break.

class VerticalPageBreak

Methods

MethodDescription
GetColumn()Gets the column index of the vertical page break.
GetEndRow()Gets the end row index of the vertical page break.
GetStartRow()Gets the start row index of the vertical page break.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const VerticalPageBreak& src)operator=
VerticalPageBreak(VerticalPageBreak_Impl* impl)Constructs from an implementation object.
VerticalPageBreak(const VerticalPageBreak& src)Copy constructor.
~VerticalPageBreak()Destructor.

Fields

FieldDescription
_implThe implementation object.

Examples

Aspose::Cells::Startup();
Workbook excel;
//Add a pagebreak at G5
excel.GetWorksheets().Get(0).GetHorizontalPageBreaks().Add(u"G5");
excel.GetWorksheets().Get(0).GetVerticalPageBreaks().Add(u"G5");
Aspose::Cells::Cleanup();

See Also