Page
Leave feedback
On this 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.
| Constructor | Description |
|---|---|
| Page(int index, Size size) | Initializes a new instance of the Page class. |
| Method | Description |
|---|---|
| getIndex() | Gets the page index. |
| getSize() | Gets the page 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. |
public int getIndex()
Gets the page index.
Returns: int - A zero-based index of the page.
public Size getSize()
Gets the page size.
Returns: Size - An instance of Size class that represents the size of the page.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.