render Page To Bitmap Async
abstract suspend fun renderPageToBitmapAsync(context: Context, pageIndex: Int, width: Int, height: Int): Bitmap
Renders page to a bitmap.
Return
The rendered page bitmap.
Parameters
context
Application context.
page Index
Page number of the page to render, zero indexed.
width
Bitmap width.
height
Bitmap height.
abstract suspend fun renderPageToBitmapAsync(context: Context, @IntRange(from = 0 ) pageIndex: Int, width: Int, height: Int, configuration: PageRenderConfiguration): Bitmap
Renders page to a bitmap.
Return
The rendered page bitmap.
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.