render abstract method
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,
});