createBitmap Function

@JvmOverloads external fun createBitmap(flags: Int = 0, orientation: ScanOrientation = ScanOrientation.Undefined, outTransform: Matrix? = null): Bitmap

Renders the page into an Android bitmap for display.

Return

the rendered bitmap

Parameters

  • flags — rendering options; see the constants on the companion
  • orientation — the orientation to render at
  • outTransform — receives the transform applied, if you need it

Throws

Top