PdfImageRendererPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PdfImageRendererPlatform
Implementers

Constructors

PdfImageRendererPlatform.new()
Constructs a PdfImageRendererPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closePdf({required int pdf}) Future<int?>
closePdfPage({required int pdf, required int page}) Future<int?>
Close a PDF page by the given pdf identifier and the given page index.
getPdfPageCount({required int pdf}) Future<int?>
Returns the number of pages for the PDF located at given path.
getPdfPageSize({required int pdf, required int page}) Future<PdfImageRendererPageSize>
Returns an instance of PdfImageRendererPageSize, holding the width and height in points of the page at given index of the PDF located at given path.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openPdf({required String path}) Future<int?>
openPdfPage({required int pdf, required int page}) Future<int?>
Open a PDF page by the given pdf identifier and the given page index.
renderPdfPage({required int pdf, required int page, int? x, int? y, int? width, int? height, double? scale, Color background = const Color(0xFFFFFFFF)}) Future<Uint8List?>
Converts a given page from a given pdf to a bitmap.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance PdfImageRendererPlatform
The default instance of PdfImageRendererPlatform to use.
getter/setter pair