Package com.ironsoftware.ironpdf.page
Class PageInfo
java.lang.Object
com.ironsoftware.ironpdf.page.PageInfo
A class which represents one page of a PDF Document.
-
Constructor Summary
ConstructorDescriptionPageInfo
(double width, double height, double printWidth, double printHeight, PageRotation pageRotation) Instantiates a new Page info. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
Gets height of the pdf page in mm.final PageRotation
Gets page rotation.final double
Gets print height of the pdf page in printer points.final double
Gets print width of the pdf page in printer points.final double
getWidth()
Gets width of the pdf page in mm.
-
Constructor Details
-
PageInfo
public PageInfo(double width, double height, double printWidth, double printHeight, PageRotation pageRotation) Instantiates a new Page info.- Parameters:
width
- the widthheight
- the heightprintWidth
- the print widthprintHeight
- the print heightpageRotation
- the page rotation
-
-
Method Details
-
getWidth
public final double getWidth()Gets width of the pdf page in mm.- Returns:
- the width
-
getHeight
public final double getHeight()Gets height of the pdf page in mm.- Returns:
- the height
-
getPrintWidth
public final double getPrintWidth()Gets print width of the pdf page in printer points.- Returns:
- the print width.
-
getPrintHeight
public final double getPrintHeight()Gets print height of the pdf page in printer points.- Returns:
- the print height
-
getPageRotation
Gets page rotation.- Returns:
- the page rotation
-