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.
|
void |
setHeight(int value)
Gets page height in pixels when converted to image.
|
void |
setNumber(int value)
Gets the page number.
|
void |
setVisible(boolean value)
Indicates whether page is visibile or not.
|
void |
setWidth(int value)
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.ArgumentException
- 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.ArgumentException
- Thrown when number
is less or equal to zero.com.aspose.ms.System.ArgumentException
- Thrown when width
is less or equal to zero.com.aspose.ms.System.ArgumentException
- 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
public final int getWidth()
Gets page width in pixels when converted to image.
public final void setHeight(int value)
Gets page height in pixels when converted to image.
public final void setNumber(int value)
Gets the page number.
public final void setVisible(boolean value)
Indicates whether page is visibile or not.
public final void setWidth(int value)
Gets page width in pixels when converted to image.
Copyright © 2020. All rights reserved.