public class PageSize
Constructor Summary |
---|
PageSize(intpaperSizeFormat)
Initializes a new instance of this class that can be used to set page size for the generated images. |
PageSize(floatwidth, floatheight)
Initializes a new instance of this class that can be used to set page size for the generated images. |
Property Getters/Setters Summary | ||
---|---|---|
float | getHeight() | |
void | setHeight(floatvalue) | |
Gets or sets the page height in points for the the generated images. | ||
int | getPaperSizeFormat() | |
void | setPaperSizeFormat(intvalue) | |
Gets or sets the paper size format for the generated images.
Can be |
||
float | getWidth() | |
void | setWidth(floatvalue) | |
Gets or sets the page width in points for the the generated images. |
public PageSize(int paperSizeFormat)
paperSizeFormat
- A public PageSize(float width, float height) throws java.lang.Exception
width
- Page width in points for the the generated images.height
- Page height in points for the the generated images.public float getWidth() / public void setWidth(float value)
public float getHeight() / public void setHeight(float value)
public int getPaperSizeFormat() / public void setPaperSizeFormat(int value)