HorizontalPageBreakCollection
HorizontalPageBreakCollection class
Encapsulates a collection of HorizontalPageBreak objects.
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | |
| Item (int) | HorizontalPageBreak | Gets the HorizontalPageBreak element at the specified index. |
| Item (java.lang.String) | HorizontalPageBreak | Gets the HorizontalPageBreak element with the specified cell name. |
Methods
| Name | Description |
|---|---|
| add | Adds a horizontal page break to the collection. |
This method is used to add a horizontal pagebreak within a print area. | | removeAt | Removes the HPageBreak element at a specified name. | | clear | | | iterator | | | get | Reserved for internal use. | | contains | Reserved for internal use. | | indexOf | Reserved for internal use. |
HorizontalPageBreakCollection.Count property
Type: int
HorizontalPageBreakCollection.Item (int) property
Gets the HorizontalPageBreak element at the specified index.
Type: HorizontalPageBreak
HorizontalPageBreakCollection.Item (java.lang.String) property
Gets the HorizontalPageBreak element with the specified cell name.
Type: HorizontalPageBreak
add(row, startColumn, endColumn) (1 of 5)
Adds a horizontal page break to the collection.
This method is used to add a horizontal pagebreak within a print area.
| Parameter | Type | Description |
|---|---|---|
| row | int | Row index, zero based. |
| startColumn | int | Start column index, zero based. |
| endColumn | int | End column index, zero based. |
Returns: HorizontalPageBreak object index.
add(row) (2 of 5)
Adds a horizontal page break to the collection.
Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
| Parameter | Type | Description |
|---|---|---|
| row | int | Cell row index, zero based. |
Returns: HorizontalPageBreak object index.
add(row, column) (3 of 5)
Adds a horizontal page break to the collection.
Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
| Parameter | Type | Description |
|---|---|---|
| row | int | Cell row index, zero based. |
| column | int | Cell column index, zero based. |
Returns: HorizontalPageBreak object index.
add(cellName) (4 of 5)
Adds a horizontal page break to the collection.
Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
| Parameter | Type | Description |
|---|---|---|
| cellName | String | Cell name. |
Returns: HorizontalPageBreak object index.
add(value) (5 of 5)
Reserved for internal use.
removeAt(index)
Removes the HPageBreak element at a specified name.
| Parameter | Type | Description |
|---|---|---|
| index | int | Element index, zero based. |
clear()
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.