PdfPage
Represents a page in a PDF document with size, positioning, and annotation capabilities. This class provides functionality to manage page dimensions, boxes, rotation, and annotations.
from nutrient import PdfPageProperties
annotation_collection
@propertydef annotation_collection(self) -> listGets the collection of annotations on this page.
Type: list
Read-only property.
height
@propertydef height(self) -> floatGets the height of the page in points.
Type: float
Read-only property.
page_number
@propertydef page_number(self) -> intGets the 1-based page number of this page in the document.
Type: int
Read-only property.
rotation
@propertydef rotation(self) -> intGets the rotation of the page in degrees (0, 90, 180, or 270).
Type: int
Read-only property.
width
@propertydef width(self) -> floatGets the width of the page in points.
Type: float
Read-only property.