Page

Inheritance: java.lang.Object

public class Page

Represents the document page information such as page index and page size. It’s used to represent the page that contains inheritors of PageArea class in the parsing by template functionality.

Constructors

Constructor Description
Page(int index, Size size) Initializes a new instance of the Page class.

Methods

Method Description
getIndex() Gets the page index.
getSize() Gets the page size.

Page(int index, Size size)

public Page(int index, Size size)

Initializes a new instance of the Page class.

Parameters:

Parameter Type Description
index int The page index.
size Size The page size.

getIndex()

public int getIndex()

Gets the page index.

Returns: int - A zero-based index of the page.

getSize()

public Size getSize()

Gets the page size.

Returns: Size - An instance of Size class that represents the size of the page.