PageInfo
Leave feedback
On this page
Inheritance: java.lang.Object
public class PageInfo
Represents Document Page Information.
| Constructor | Description |
|---|---|
| PageInfo() | |
| PageInfo(int width, int height) | Initializes new instance of PageInfo class. |
| PageInfo(PageInfo pageInfo) | Initializes new instance of PageInfo class. |
| Method | Description |
|---|---|
| getWidth() | Page width |
| setWidth(int value) | Page width |
| getHeight() | Page height |
| setHeight(int value) | Page height |
| getPageNumber() | Page number |
| setPageNumber(int value) | Page number |
| getTextLines() | Text lines information |
| setTextLines(List |
Text lines information |
| equals(Object obj) | |
| equals(PageInfo obj1, PageInfo obj2) | |
| hashCode() |
public PageInfo()
public PageInfo(int width, int height)
Initializes new instance of PageInfo class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| width | int | Page Width. |
| height | int | Page Height. |
public PageInfo(PageInfo pageInfo)
Initializes new instance of PageInfo class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pageInfo | PageInfo | Page Info source. |
public final int getWidth()
Page width
Returns: int -
public final void setWidth(int value)
Page width
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getHeight()
Page height
Returns: int -
public final void setHeight(int value)
Page height
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getPageNumber()
Page number
Returns: int -
public final void setPageNumber(int value)
Page number
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final List<TextLineInfo> getTextLines()
Text lines information
Returns: java.util.List<com.groupdocs.annotation.models.TextLineInfo> -
public final void setTextLines(List<TextLineInfo> value)
Text lines information
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<com.groupdocs.annotation.models.TextLineInfo> |
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
public static boolean equals(PageInfo obj1, PageInfo obj2)
Parameters:
Returns: boolean
public int hashCode()
Returns: int
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.