aspose.cells

Class HorizontalPageBreak

Encapsulates the object that represents a horizontal page break.

Example:

//Instantiating a Workbook object
var workbook = new aspose.cells.Workbook();

//Obtaining the reference of the newly added worksheet by passing its sheet index
var worksheet = workbook.getWorksheets().get(0);

//Add a page break at cell Y30
var Index = worksheet.getHorizontalPageBreaks().add("Y30");

//get the newly added horizontal page break
var hPageBreak = worksheet.getHorizontalPageBreaks().get(Index);

Property Getters/Setters Summary
functiongetEndColumn()
Gets the end column index of this horizontal page break.
functiongetRow()
Gets the zero based row index.
functiongetStartColumn()
Gets the start column index of this horizontal page break.
 

    • Property Getters/Setters Detail

      • getStartColumn : Number 

        function getStartColumn()
        
        Gets the start column index of this horizontal page break.
      • getEndColumn : Number 

        function getEndColumn()
        
        Gets the end column index of this horizontal page break.
      • getRow : Number 

        function getRow()
        
        Gets the zero based row index.