PdfPage class Null safety

Handles a PDF page in PDFDocument.


PdfPage({required PdfDocument document, required int pageNumber, required double width, required double height})


document PdfDocument
PDF document.
hashCode int
The hash code for this object. [...]
read-only, override
height double
PDF page height in points (height in pixels at 72 dpi) (rotated).
pageNumber int
Page number. The first page is 1.
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
PDF page width in points (width in pixels at 72 dpi) (rotated).


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
render({int x = 0, int y = 0, int? width, int? height, double? fullWidth, double? fullHeight, bool backgroundFill = true, bool allowAntialiasingIOS = false}) Future<PdfPageImage>
Render a sub-area or full image of specified PDF file. x, y, width, height specify sub-area to render in pixels. fullWidth, fullHeight specify virtual full size of the page to render in pixels. If they're not specified, width and height are used to specify the full size. If width, height, fullWidth, fullHeight, and dpi are all 0, the page is rendered at 72 dpi. By default, backgroundFill is true and the page background is once filled with white before rendering page image but you can turn it off if needed.
toString() String
A string representation of this object. [...]


operator ==(dynamic other) bool
The equality operator. [...]