PageInfo class
Copyright © 2018-2026 PSPDFKit GmbH. All rights reserved.
THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. This notice may not be removed from this file.
Information about a single PDF page.
Fields not yet surfaced cross-platform — for now, reach for the
platform-specific NutrientPlatformAdapter (cast it to the concrete
AndroidAdapter / IOSAdapter / NutrientWebAdapter and use the
native binding directly) if you need them:
- Raw PDF boxes (
mediaBox,cropBox,bleedBox,trimBox,artBox): iOS exposesmediaBox/cropBoxonPSPDFPageInfoand web exposes the full set viaPageInfo.rawPdfBoxes; Android's high-levelPdfDocumentAPI doesn't surface them, so adding them here would force Android to returnnullfor every box. rotationOffset: iOS-only (transient per-display rotation on top ofsavedRotation). No analogue on Android / Web.hasTransparency: iOS-only flag onPSPDFPageInfo.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Page height in PDF points.
final
- label → String?
-
Optional page label (e.g. "i", "ii", "1", "A-1").
final
- pageIndex → int
-
Zero-based page index.
final
- rotation → int
-
Page rotation in degrees (0, 90, 180, 270).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
Page width in PDF points.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited