VerticalPageBreakCollection

VerticalPageBreakCollection class

Encapsulates a collection of VerticalPageBreak objects.

class VerticalPageBreakCollection;

Methods

MethodDescription
get(number)Gets the VerticalPageBreak element at the specified index.
get(string)Gets the VerticalPageBreak element with the specified cell name.
add(number, number, number)Adds a vertical page break to the collection.
add(number)Adds a vertical page break to the collection.
add(number, number)Adds a vertical page break to the collection.
add(string)Adds a vertical page break to the collection.
removeAt(number)Removes the VPageBreak element at a specified name.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the VerticalPageBreak element at the specified index.

get(index: number) : VerticalPageBreak;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

get(string)

Gets the VerticalPageBreak element with the specified cell name.

get(cellName: string) : VerticalPageBreak;

Parameters:

ParameterTypeDescription
cellNamestringCell name.

Returns

The element with the specified cell name.

add(number, number, number)

Adds a vertical page break to the collection.

add(startRow: number, endRow: number, column: number) : number;

Parameters:

ParameterTypeDescription
startRownumberStart row index, zero based.
endRownumberEnd row index, zero based.
columnnumberColumn index, zero based.

Returns

VerticalPageBreak object index.

Remarks

This method is used to add a vertical pagebreak within a print area.

add(number)

Adds a vertical page break to the collection.

add(column: number) : number;

Parameters:

ParameterTypeDescription
columnnumberCell column index, zero based.

Returns

VerticalPageBreak object index.

Remarks

Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.

add(number, number)

Adds a vertical page break to the collection.

add(row: number, column: number) : number;

Parameters:

ParameterTypeDescription
rownumberCell row index, zero based.
columnnumberCell column index, zero based.

Returns

VerticalPageBreak object index.

Remarks

Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.

add(string)

Adds a vertical page break to the collection.

add(cellName: string) : number;

Parameters:

ParameterTypeDescription
cellNamestringCell name.

Returns

VerticalPageBreak object index.

Remarks

Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.

removeAt(number)

Removes the VPageBreak element at a specified name.

removeAt(index: number) : void;

Parameters:

ParameterTypeDescription
indexnumberElement index, zero based.

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;