com.aspose.cells

Class HorizontalPageBreak

  • java.lang.Object
    • com.aspose.cells.HorizontalPageBreak
public class HorizontalPageBreak 
extends java.lang.Object

Encapsulates the object that represents a horizontal page break.

Example:

//Instantiating a Workbook object
Workbook workbook = new Workbook();

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

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

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

Property Getters/Setters Summary
intgetEndColumn()
Gets the end column index of this horizontal page break.
intgetRow()
Gets the zero based row index.
intgetStartColumn()
Gets the start column index of this horizontal page break.
 

    • Property Getters/Setters Detail

      • getStartColumn

        public int getStartColumn()
        
        Gets the start column index of this horizontal page break.
      • getEndColumn

        public int getEndColumn()
        
        Gets the end column index of this horizontal page break.
      • getRow

        public int getRow()
        
        Gets the zero based row index.