Package io.scanbot.sdk.process
Interface PDFRenderer
-
- All Implemented Interfaces:
public interface PDFRendererProvides methods for PDF rendering
-
-
Method Summary
Modifier and Type Method Description abstract Filerender(Array<Uri> imageFileUris, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)Render PDF from given images uris abstract Booleanrender(Array<Uri> imageFileUris, File outputFile, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)Render PDF from given images uris abstract Filerender(Array<Page> pages, PdfConfig pdfConfig)Render PDF from given array of Page objects abstract Booleanrender(Array<Page> pages, File outputFile, PdfConfig pdfConfig)Render PDF from given array of Page objects abstract Booleanrender(Document document, PdfConfig pdfConfig)Render PDF from given Document abstract Booleanrender(Document document, File outputFile, PdfConfig pdfConfig)Render PDF from given Document -
-
Method Detail
-
render
abstract File render(Array<Uri> imageFileUris, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)
Render PDF from given images uris
- Parameters:
imageFileUris- array of source images urissourceFilesEncrypted- should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - falsepdfConfig- extra PDF configuration
-
render
abstract Boolean render(Array<Uri> imageFileUris, File outputFile, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)
Render PDF from given images uris
- Parameters:
imageFileUris- array of source images urisoutputFile- target PDF filesourceFilesEncrypted- should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - falsepdfConfig- extra PDF configuration
-
render
abstract File render(Array<Page> pages, PdfConfig pdfConfig)
Render PDF from given array of Page objects
- Parameters:
pages- array of source pagespdfConfig- extra PDF configuration
-
render
abstract Boolean render(Array<Page> pages, File outputFile, PdfConfig pdfConfig)
Render PDF from given array of Page objects
- Parameters:
pages- array of source pagesoutputFile- target PDF filepdfConfig- extra PDF configuration
-
render
abstract Boolean render(Document document, PdfConfig pdfConfig)
Render PDF from given Document
- Parameters:
document- source documentpdfConfig- extra PDF configuration
-
-
-
-