Aspose::Cells::IHorizontalPageBreak Class Referenceabstract

Encapsulates the object that represents a horizontal page break. More...

Inherits Object.

Public Member Functions

virtual Aspose::Cells::Systems::Int32 GetStartColumn ()=0
 Gets the start column index of this horizontal page break. More...
 
virtual Aspose::Cells::Systems::Int32 GetEndColumn ()=0
 Gets the end column index of this horizontal page break. More...
 
virtual Aspose::Cells::Systems::Int32 GetRow ()=0
 Gets the zero based row index. More...
 

Detailed Description

Encapsulates the object that represents a horizontal page break.

[C++]
//Instantiating a Workbook object
intrusive_ptr<Aspose::Cells::IWorkbook> workbook = Factory::CreateIWorkbook();
//Obtaining the reference of the newly added worksheet by passing its sheet index
intrusive_ptr<IWorksheet> worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
//Add a page break at cell Y30
int Index = worksheet->GetIHorizontalPageBreaks()->Add(new String("Y30"));
//get the newly added horizontal page break
intrusive_ptr<IHorizontalPageBreak> hPageBreak = worksheet->GetIHorizontalPageBreaks()->GetObjectByIndex(Index);

Member Function Documentation

◆ GetEndColumn()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IHorizontalPageBreak::GetEndColumn ( )
pure virtual

Gets the end column index of this horizontal page break.

◆ GetRow()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IHorizontalPageBreak::GetRow ( )
pure virtual

Gets the zero based row index.

◆ GetStartColumn()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IHorizontalPageBreak::GetStartColumn ( )
pure virtual

Gets the start column index of this horizontal page break.