render Page To Bitmap
abstract fun renderPageToBitmap(@NonNull context: Context, pageIndex: Int, width: Int, height: Int): Bitmap
Renders page to a bitmap.
Return
Bitmap with rendered page.
Parameters
context
Application context.
page Index
Page number of the page to render, zero indexed.
width
Bitmap width.
height
Bitmap height.
abstract fun renderPageToBitmap(@NonNull context: Context, pageIndex: Int, width: Int, height: Int, @NonNull configuration: PageRenderConfiguration): Bitmap
Renders page to a bitmap.
Return
Bitmap with rendered page.
Parameters
context
Application context.
page Index
Page number of the page to render, zero indexed.
width
Bitmap width.
height
Bitmap height.
configuration
Advanced configuration options.