PdfPage class abstract
Handles a PDF page in PdfDocument.
See PdfDocument.pages.
Constructors
Properties
- document → PdfDocument
-
PDF document.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
PDF page height in points (height in pixels at 72 dpi) (rotated).
no setter
- pageNumber → int
-
Page number. The first page is 1.
no setter
- rotation → PdfPageRotation
-
PDF page rotation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
PDF page size in points (size in pixels at 72 dpi) (rotated).
no setter
- width → double
-
PDF page width in points (width in pixels at 72 dpi) (rotated).
no setter
Methods
-
createCancellationToken(
) → PdfPageRenderCancellationToken - Create PdfPageRenderCancellationToken to cancel the rendering process.
-
loadLinks(
{bool compact = false}) → Future< List< PdfLink> > - Load links.
-
loadText(
) → Future< PdfPageText> - Load text.
-
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, Color? backgroundColor, PdfAnnotationRenderingMode annotationRenderingMode = PdfAnnotationRenderingMode.annotationAndForms, PdfPageRenderCancellationToken? cancellationToken}) → Future< PdfImage?> -
Render a sub-area or full image of specified PDF file.
Returned image should be disposed after use.
x
,y
,width
,height
specify sub-area to render in pixels.fullWidth
,fullHeight
specify virtual full size of the page to render in pixels. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited