Package com.ironsoftware.ironpdf.page
Class PageInfo
- java.lang.Object
-
- com.ironsoftware.ironpdf.page.PageInfo
-
public class PageInfo extends Object
A class which represents one page of a PDF Document.
-
-
Constructor Summary
Constructors Constructor Description PageInfo(int pageIndex, double width, double height, double printWidth, double printHeight, PageRotation pageRotation)
Instantiates a new Page info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getHeight()
Gets height of the pdf page in mm.int
getPageIndex()
Gets page indexPageRotation
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.
-
-
-
Constructor Detail
-
PageInfo
public PageInfo(int pageIndex, 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 Detail
-
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
-
getPageIndex
public final int getPageIndex()
Gets page index- Returns:
- the page index
-
getPageRotation
public final PageRotation getPageRotation()
Gets page rotation.- Returns:
- the page rotation
-
-