| Constructor and 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. |
| Modifier and Type | Method and Description |
|---|---|
DocumentInfo |
getDocument()
Gets the document info.
|
int |
getHeight()
Gets page height in pixels when converted to image.
|
int |
getNumber()
Gets the page number.
|
boolean |
getVisible()
Indicates whether page is visibile or not.
|
int |
getWidth()
Gets page width in pixels when converted to image.
|
void |
setDocument(DocumentInfo value)
Gets the document info.
|
public PageInfo(int number,
boolean visible)
throws Exception
Initializes new instance of PageInfo class.
number - The page number.visible - The page visibility indicator.Exception - Thrown when number is less or equal to zero.public PageInfo(int number,
boolean visible,
int width,
int height)
throws Exception
Initializes new instance of PageInfo class.
number - The page number.visible - The page visibility indicator.width - The width of the page in pixels when viewing as JPG or PNG.height - The height of the page in pixels when viewing as JPG or PNG.Exception - Thrown when number is less or equal to zero.Exception - Thrown when width is less or equal to zero.Exception - Thrown when height is less or equal to zero.public final DocumentInfo getDocument()
Gets the document info.
getDocument in interface IPageInfopublic final int getHeight()
Gets page height in pixels when converted to image.
public final int getNumber()
Gets the page number.
public final boolean getVisible()
Indicates whether page is visibile or not.
getVisible in interface IPageInfopublic final int getWidth()
Gets page width in pixels when converted to image.
public final void setDocument(DocumentInfo value)
Gets the document info.
setDocument in interface IPageInfoCopyright © 2024. All rights reserved.