writeFile Function
abstract fun writeFile(image: File, orientation: ScanOrientation, text: ScanText, textOrientation: ScanOrientation)
Writes an already-encoded file into the output.
Implemented by the PDF writer only.
Parameters
- image — file to write
- orientation — image orientation
- text — content to embed to the file
- textOrientation — orientation that was when image had been recognized
Throws
- ScanningSdkException — if an error occurs