HorizontalPageBreak

HorizontalPageBreak class

Encapsulates the object that represents a horizontal page break.

class HorizontalPageBreak;

Example

const { Workbook } = require("aspose.cells.node");

//Instantiating a Workbook object
var workbook = new Workbook();

//Obtaining the reference of the newly added worksheet by passing its sheet index
var worksheet = workbook.worksheets.get(0);

//Add a page break at cell Y30
var Index = worksheet.horizontalPageBreaks.add("Y30");

//get the newly added horizontal page break
var hPageBreak = worksheet.horizontalPageBreaks.get(Index);

Properties

PropertyTypeDescription
startColumnnumberReadonly. Gets the start column index of this horizontal page break.
endColumnnumberReadonly. Gets the end column index of this horizontal page break.
rownumberReadonly. Gets the zero based row index.

Methods

MethodDescription
getStartColumn()@deprecated. Please use the ‘startColumn’ property instead. Gets the start column index of this horizontal page break.
getEndColumn()@deprecated. Please use the ’endColumn’ property instead. Gets the end column index of this horizontal page break.
getRow()@deprecated. Please use the ‘row’ property instead. Gets the zero based row index.
isNull()Checks whether the implementation object is null.

startColumn

Readonly. Gets the start column index of this horizontal page break.

startColumn : number;

endColumn

Readonly. Gets the end column index of this horizontal page break.

endColumn : number;

row

Readonly. Gets the zero based row index.

row : number;

getStartColumn()

@deprecated. Please use the ‘startColumn’ property instead. Gets the start column index of this horizontal page break.

getStartColumn() : number;

getEndColumn()

@deprecated. Please use the ’endColumn’ property instead. Gets the end column index of this horizontal page break.

getEndColumn() : number;

getRow()

@deprecated. Please use the ‘row’ property instead. Gets the zero based row index.

getRow() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;