PdfFileEditor.PageBreak

Inheritance: java.lang.Object

public static class PdfFileEditor.PageBreak

Data of page break position.

Constructors

ConstructorDescription
PageBreak(int pageNumber, double position)Constructor to create PageBreak object.

Methods

MethodDescription
getPageNumber()Number of page (starting from 1) where page break must be added.
setPageNumber(int value)Number of page (starting from 1) where page break must be added.
getPosition()Vertical position of page break.
setPosition(double value)Vertical position of page break.

PageBreak(int pageNumber, double position)

public PageBreak(int pageNumber, double position)

Constructor to create PageBreak object.

Parameters:

ParameterTypeDescription
pageNumberintNumber of page where page break is placed.
positiondoubleVertical position of page break.

getPageNumber()

public int getPageNumber()

Number of page (starting from 1) where page break must be added.

Returns: int - int value

setPageNumber(int value)

public void setPageNumber(int value)

Number of page (starting from 1) where page break must be added.

Parameters:

ParameterTypeDescription
valueintint value

getPosition()

public double getPosition()

Vertical position of page break.

Returns: double - double value

setPosition(double value)

public void setPosition(double value)

Vertical position of page break.

Parameters:

ParameterTypeDescription
valuedoubledouble value