generateFromUris

abstract fun generateFromUris(imageFileUris: Array<Uri>, sourceFilesEncrypted: Boolean = false, pdfConfig: PdfConfiguration = PdfConfiguration.default()): File?

Generate PDF from given images uris

Return

generated PDF File

Parameters

imageFileUris

array of source images uris

sourceFilesEncrypted

should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - false

pdfConfig

extra PDF configuration


abstract fun generateFromUris(imageFileUris: Array<Uri>, outputFile: File, sourceFilesEncrypted: Boolean = false, pdfConfig: PdfConfiguration = PdfConfiguration.default()): Boolean

Generate PDF from given images uris

Return

true if PDF was generated successfully, false otherwise

Parameters

imageFileUris

array of source images uris

outputFile

target PDF file

sourceFilesEncrypted

should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - false

pdfConfig

extra PDF configuration