PdfPageMethodChannel class
Handles a PDF page in PDFDocument
.
Properties
- document → PdfDocument
-
PDF document.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
PDF page height in points (height in pixels at 72 dpi) (rotated).
finalinherited
- pageNumber → int
-
Page number. The first page is 1.
finalinherited
- 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).
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
{int? x, int? y, int? width, int? height, double? fullWidth, double? fullHeight, bool? backgroundFill}) → 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
andheight
are used to specify the full size. Ifwidth
,height
,fullWidth
,fullHeight
, anddpi
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.override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override