PageInfo
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.merger.domain.result.IPageInfo
public class PageInfo implements IPageInfo
Defines page description properties.
| Constructor | Description |
|---|---|
| PageInfo(int number, boolean visible) | Initializes new instance of PageInfo class. |
| PageInfo(int number, boolean visible, int width, int height) | Initializes new instance of PageInfo class. |
| Method | Description |
|---|---|
| getDocument() | Gets the document info. |
| setDocument(DocumentInfo value) | Gets the document info. |
| getNumber() | Gets the page number. |
| getVisible() | Indicates whether page is visibile or not. |
| getWidth() | Gets page width in pixels when converted to image. |
| getHeight() | Gets page height in pixels when converted to image. |
public PageInfo(int number, boolean visible)
Initializes new instance of PageInfo class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| number | int | The page number. |
| visible | boolean | The page visibility indicator. |
public PageInfo(int number, boolean visible, int width, int height)
Initializes new instance of PageInfo class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| number | int | The page number. |
| visible | boolean | The page visibility indicator. |
| width | int | The width of the page in pixels when viewing as JPG or PNG. |
| height | int | The height of the page in pixels when viewing as JPG or PNG. |
public final DocumentInfo getDocument()
Gets the document info.
Returns: DocumentInfo
public final void setDocument(DocumentInfo value)
Gets the document info.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | DocumentInfo |
public final int getNumber()
Gets the page number.
Returns: int
public final boolean getVisible()
Indicates whether page is visibile or not.
Returns: boolean
public final int getWidth()
Gets page width in pixels when converted to image.
Returns: int
public final int getHeight()
Gets page height in pixels when converted to image.
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.