public class PageInfo extends Object
Constructor and Description |
---|
PageInfo(double width,
double height,
double printWidth,
double printHeight,
PageRotation pageRotation)
Instantiates a new Page info.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets height of the pdf page in mm.
|
PageRotation |
getPageRotation()
Gets page rotation.
|
double |
getPrintHeight()
Gets print height of the pdf page in printer points.
|
double |
getPrintWidth()
Gets print width of the pdf page in printer points.
|
double |
getWidth()
Gets width of the pdf page in mm.
|
public PageInfo(double width, double height, double printWidth, double printHeight, PageRotation pageRotation)
width
- the widthheight
- the heightprintWidth
- the print widthprintHeight
- the print heightpageRotation
- the page rotationpublic final double getWidth()
public final double getHeight()
public final double getPrintWidth()
public final double getPrintHeight()
public final PageRotation getPageRotation()
Copyright © 2022–2023 Iron Software. All rights reserved.