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