Aspose::Cells::VerticalPageBreak class
Contents
[
Hide
]VerticalPageBreak class
Encapsulates the object that represents a vertical page break.
class VerticalPageBreak
Methods
Method | Description |
---|---|
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() const | Checks whether the implementation object is nullptr. |
explicit operator bool() const | operator bool() |
operator=(const VerticalPageBreak& src) | operator= |
VerticalPageBreak(VerticalPageBreak_Impl* impl) | Constructs from an implementation object. |
VerticalPageBreak(const VerticalPageBreak& src) | Copy constructor. |
~VerticalPageBreak() | Destructor. |
Fields
Field | Description |
---|---|
_impl | The 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
- Namespace Aspose::Cells
- Library Aspose.Cells for C++