PdfPage class abstract

Handles a PDF page in PDFDocument.

Constructors

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

Properties

document PdfDocument
PDF document.
final
hashCode int
The hash code for this object.
no setteroverride
height double
PDF page height in points (height in pixels at 72 dpi) (rotated).
final
pageNumber int
Page number. The first page is 1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
PDF page width in points (width in pixels at 72 dpi) (rotated).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override