java.lang.ObjectCollectionBase
com.aspose.cells.HorizontalPageBreakCollection
public class HorizontalPageBreakCollection
Example:
//Add a pagebreak at G5
excel.getWorksheets().get(0).getHorizontalPageBreaks().add("G5");
excel.getWorksheets().get(0).getVerticalPageBreaks().add("G5");
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | → inherited from com.aspose.cells.CollectionBase |
HorizontalPageBreak | get(int index) | |
Gets the |
||
HorizontalPageBreak | get(java.lang.String cellName) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(int row) | |
Adds a horizontal page break to the collection. | ||
int | add(int row, int column) | |
Adds a horizontal page break to the collection. | ||
int | add(int row, int startColumn, int endColumn) | |
Adds a horizontal page break to the collection. | ||
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
int | add(java.lang.String cellName) | |
Adds a horizontal page break to the collection. | ||
void | clear() | → inherited from com.aspose.cells.CollectionBase |
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
java.lang.Object | get(int index) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase |
void | removeAt(int index) | |
Removes the HPageBreak element at a specified name. |
Property Getters/Setters Detail |
---|
getCount | → inherited from com.aspose.cells.CollectionBase |
public int getCount() |
get | |
public HorizontalPageBreak get(int index) |
index
- The zero based index of the element.get | |
public HorizontalPageBreak get(java.lang.String cellName) |
cellName
- Cell name.Method Detail |
---|
add | |
public int add(int row, int startColumn, int endColumn) |
row
- Row index, zero based.startColumn
- Start column index, zero based.endColumn
- End column index, zero based.add | |
public int add(int row) |
row
- Cell row index, zero based.add | |
public int add(int row, int column) |
row
- Cell row index, zero based.column
- Cell column index, zero based.add | |
public int add(java.lang.String cellName) |
cellName
- Cell name.removeAt | |
public void removeAt(int index) |
index
- Element index, zero based.clear | → inherited from com.aspose.cells.CollectionBase |
public void clear() |
iterator | → inherited from com.aspose.cells.CollectionBase |
public java.util.Iterator iterator() |
get | → inherited from com.aspose.cells.CollectionBase |
public java.lang.Object get(int index) |
contains | → inherited from com.aspose.cells.CollectionBase |
public boolean contains(java.lang.Object value) |
add | → inherited from com.aspose.cells.CollectionBase |
public int add(java.lang.Object value) |
indexOf | → inherited from com.aspose.cells.CollectionBase |
public int indexOf(java.lang.Object value) |