| Constructor and Description |
|---|
ImagePage(BufferedImage image) |
ImagePage(BufferedImage image,
Resolution originalDpi) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(IGraphicsSurface g) |
void |
draw(IGraphicsSurface g,
Rectangle rectangle) |
Resolution |
getAppliedDpi() |
MeasurementUnit |
getMeasurementUnit() |
Orientation |
getOrientation()
Returns default orientation for the page.
|
Resolution |
getOriginalDpi() |
float |
getPageHeight()
Deprecated.
Instead use
getPageSize(). |
PageMargin |
getPageMargins()
Returns margins of the specified page.
|
PageSize |
getPageSize()
Returns the dimensions of the page.
|
float |
getPageWidth()
Deprecated.
Instead use
getPageSize(). |
int |
getRotation() |
void |
setAppliedDpi(Resolution appliedDpi) |
public ImagePage(BufferedImage image)
public ImagePage(BufferedImage image, Resolution originalDpi)
public float getPageWidth()
getPageSize().getPageWidth in interface IPagepublic float getPageHeight()
getPageSize().getPageHeight in interface IPagepublic PageMargin getPageMargins()
IPagegetPageMargins in interface IPagepublic Orientation getOrientation()
IPagegetOrientation in interface IPagepublic MeasurementUnit getMeasurementUnit()
getMeasurementUnit in interface IPagepublic PageSize getPageSize()
IPagegetPageSize in interface IPagepublic int getRotation()
getRotation in interface IPagepublic void draw(IGraphicsSurface g) throws XDocException, IOException
draw in interface IPageXDocExceptionIOExceptionpublic void draw(IGraphicsSurface g, Rectangle rectangle) throws XDocException, IOException
draw in interface IPageXDocExceptionIOExceptionpublic Resolution getOriginalDpi()
public Resolution getAppliedDpi()
public void setAppliedDpi(Resolution appliedDpi)