PageInfo

Inheritance: java.lang.Object

public class PageInfo

Represents a brief page information.


Learn more

Constructors

Constructor Description
PageInfo()

Methods

Method Description
getWidth() Gets the page width.
setWidth(int value) Sets the page width.
getHeight() Gets the page height.
setHeight(int value) Sets the page height.
getPageNumber() Gets the page number.
setPageNumber(int value) Sets the page number.

PageInfo()

public PageInfo()

getWidth()

public final int getWidth()

Gets the page width.

Returns: int - The page width.

setWidth(int value)

public final void setWidth(int value)

Sets the page width.

Parameters:

Parameter Type Description
value int The page width.

getHeight()

public final int getHeight()

Gets the page height.

Returns: int - The page height.

setHeight(int value)

public final void setHeight(int value)

Sets the page height.

Parameters:

Parameter Type Description
value int The page height.

getPageNumber()

public final int getPageNumber()

Gets the page number.

Returns: int - The page number.

setPageNumber(int value)

public final void setPageNumber(int value)

Sets the page number.

Parameters:

Parameter Type Description
value int The page number.