PageModel Data Type

A page in the PDF document.

Properties
name data type description
width number The width of the page in points (72 DPI). Default value is 612.
height number The height of the page in points (72 DPI). Default value is 792.
index number The index of the page in the document. Default value is -1.
annotationCount number The number of annotations on the page.
link LinkModel Link to the page.
rotation number The rotation of the page in degrees.
mediaBox RectangleModel The media box for the page.
cropBox RectangleModel The crop box for the page.

Example

{
  "width" : 12345.0,
  "height" : 12345.0,
  "index" : 12345,
  "annotationCount" : 12345,
  "link" : {
    "rel" : "...",
    "href" : "..."
  },
  "rotation" : 12345,
  "mediaBox" : {
    "x" : 12345.0,
    "y" : 12345.0,
    "width" : 12345.0,
    "height" : 12345.0
  },
  "cropBox" : {
    "x" : 12345.0,
    "y" : 12345.0,
    "width" : 12345.0,
    "height" : 12345.0
  }
}