public class HorizontalPageBreak
extends java.lang.Object
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);
| Modifier and Type | Method and Description |
|---|---|
int |
getEndColumn()
Gets the end column index of this horizontal page break.
|
int |
getRow()
Gets the zero based row index.
|
int |
getStartColumn()
Gets the start column index of this horizontal page break.
|
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.