VerticalPageBreakCollection
VerticalPageBreakCollection class
Encapsulates a collection of VerticalPageBreak objects.
Methods
| Name | Description |
|---|---|
| add(startRow, endRow, column) | Adds a vertical page break to the collection. This method is used to add a vertical pagebreak within a print area. |
| add(column) | Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal p |
| add(row, column) | Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal p |
| add(cellName) | Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal p |
| add() | Reserved for internal use. |
| clear() | |
| contains() | Reserved for internal use. |
| get(index) | Gets the VerticalPageBreak element at the specified index. |
| get(cellName) | Gets the VerticalPageBreak element with the specified cell name. |
| get() | Reserved for internal use. |
| getCount() | |
| indexOf() | Reserved for internal use. |
| iterator() | |
| removeAt(index) | Removes the VPageBreak element at a specified name. |
add(startRow, endRow, column)
Adds a vertical page break to the collection. This method is used to add a vertical pagebreak within a print area.
| Parameter | Type | Description |
|---|---|---|
| startRow | Number | Start row index, zero based. |
| endRow | Number | End row index, zero based. |
| column | Number | Column index, zero based. |
Returns: Number — Number VerticalPageBreak object index.
add(column)
Adds a vertical 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 |
|---|---|---|
| column | Number | Cell column index, zero based. |
Returns: Number — Number VerticalPageBreak object index.
add(row, column)
Adds a vertical 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 | Number | Cell row index, zero based. |
| column | Number | Cell column index, zero based. |
Returns: Number — Number VerticalPageBreak object index.
add(cellName)
Adds a vertical 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: Number — Number VerticalPageBreak object index.
add()
Reserved for internal use.
clear()
contains()
Reserved for internal use.
get(index)
Gets the VerticalPageBreak element at the specified index.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The zero based index of the element. |
Returns: VerticalPageBreak — VerticalPageBreak The element at the specified index.
get(cellName)
Gets the VerticalPageBreak element with the specified cell name.
| Parameter | Type | Description |
|---|---|---|
| cellName | String | Cell name. |
Returns: VerticalPageBreak — VerticalPageBreak The element with the specified cell name.
get()
Reserved for internal use.
getCount()
indexOf()
Reserved for internal use.
iterator()
removeAt(index)
Removes the VPageBreak element at a specified name.
| Parameter | Type | Description |
|---|---|---|
| index | Number | Element index, zero based. |