PageInfo
Contents
[
Hide
]
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.merger.domain.result.IPageInfo
public class PageInfo implements IPageInfo
Defines page description properties.
Constructors
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. |
Methods
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. |
PageInfo(int number, boolean visible)
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. |
PageInfo(int number, boolean visible, int width, int height)
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. |
getDocument()
public final DocumentInfo getDocument()
Gets the document info.
Returns: DocumentInfo
setDocument(DocumentInfo value)
public final void setDocument(DocumentInfo value)
Gets the document info.
Parameters:
Parameter | Type | Description |
---|---|---|
value | DocumentInfo |
getNumber()
public final int getNumber()
Gets the page number.
Returns: int
getVisible()
public final boolean getVisible()
Indicates whether page is visibile or not.
Returns: boolean
getWidth()
public final int getWidth()
Gets page width in pixels when converted to image.
Returns: int
getHeight()
public final int getHeight()
Gets page height in pixels when converted to image.
Returns: int