HorizontalPageBreakCollection

HorizontalPageBreakCollection class

Encapsulates a collection of HorizontalPageBreak objects.

Properties

NameTypeDescription
Countint
Item (int)HorizontalPageBreakGets the HorizontalPageBreak element at the specified index.
Item (java.lang.String)HorizontalPageBreakGets the HorizontalPageBreak element with the specified cell name.

Methods

NameDescription
addAdds 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.

ParameterTypeDescription
rowintRow index, zero based.
startColumnintStart column index, zero based.
endColumnintEnd 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.

ParameterTypeDescription
rowintCell 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.

ParameterTypeDescription
rowintCell row index, zero based.
columnintCell 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.

ParameterTypeDescription
cellNameStringCell name.

Returns: HorizontalPageBreak object index.


add(value) (5 of 5)

Reserved for internal use.

removeAt(index)

Removes the HPageBreak element at a specified name.

ParameterTypeDescription
indexintElement index, zero based.

clear()

iterator()

get(index)

Reserved for internal use.

contains(value)

Reserved for internal use.

indexOf(value)

Reserved for internal use.