SyncfusionFlutterPdfViewerPlugin class
- Inheritance
-
- Object
- PlatformInterface
- SyncfusionFlutterPdfViewerPlugin
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
-
closeDocument(String documentID)
→ Future<void>
-
Closes the PDF document.
-
getImage(int pageNumber, double scale, String documentID)
→ Future<Uint8List>
-
Gets the image's bytes information of the specified page.
-
getPage(int pageNumber, int width, int height, String documentID)
→ Future<Uint8List?>
-
Gets the image bytes of the specified page from the document at the specified width and height.
inherited
-
getPagesHeight(String documentID)
→ Future<Int32List?>
-
Gets the height of all pages in the document.
-
getPagesWidth(String documentID)
→ Future<Int32List?>
-
Gets the width of all pages in the document.
-
getTileImage(int pageNumber, double scale, double x, double y, double width, double height, String documentID)
→ Future<Uint8List?>
-
Gets the image's bytes information of the specified portion of the page.
-
initializePdfRenderer(Uint8List documentBytes, String documentID)
→ Future<String>
-
Initializes the PDF renderer instance in respective platform by loading the PDF from the specified path.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
renderPage(PdfJsPage page, PdfJsViewport viewport, double scale, String documentID)
→ Future<Uint8List>
-
Renders the page into a canvas and return image's byte information.
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
registerWith(Registrar registrar)
→ void
-
Registers this class as the default instance of
PdfViewerPlatform
.