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