render abstract method

Future<PdfPageImage> render({
  1. int x = 0,
  2. int y = 0,
  3. int? width,
  4. int? height,
  5. double? fullWidth,
  6. double? fullHeight,
  7. bool backgroundFill = true,
  8. bool allowAntialiasingIOS = false,
})

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.

Implementation

Future<PdfPageImage> render({
  int x = 0,
  int y = 0,
  int? width,
  int? height,
  double? fullWidth,
  double? fullHeight,
  bool backgroundFill = true,
  bool allowAntialiasingIOS = false,
});