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 |
---|---|
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.
|
public PageInfo(int number, boolean visible)
Initializes new instance of PageInfo
class.
number
- The page number.visible
- The page visibility indicator.com.aspose.ms.System.Exception
- Thrown when number
is less or equal to zero.public PageInfo(int number, boolean visible, int width, int height)
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.com.aspose.ms.System.Exception
- Thrown when number
is less or equal to zero.com.aspose.ms.System.Exception
- Thrown when width
is less or equal to zero.com.aspose.ms.System.Exception
- Thrown when height
is less or equal to zero.public 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 IPageInfo