Class ScanbotPDFRenderer

  • All Implemented Interfaces:
    io.scanbot.sdk.process.PDFRenderer

    
    public final class ScanbotPDFRenderer
     implements PDFRenderer
                        

    Provides methods for PDF rendering

    • Method Detail

      • render

         File render(Array<Uri> imageFileUris, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)

        Render PDF from given images uris

        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
      • render

         Boolean render(Array<Uri> imageFileUris, File outputFile, Boolean sourceFilesEncrypted, PdfConfig pdfConfig)

        Render PDF from given images uris

        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
      • render

         File render(Array<Page> pages, PdfConfig pdfConfig)

        Render PDF from given list of Page objects

        Parameters:
        pages - array of source pages
        pdfConfig - extra PDF configuration
      • render

         Boolean render(Array<Page> pages, File outputFile, PdfConfig pdfConfig)

        Render PDF from given array of Page objects

        Parameters:
        pages - array of source pages
        outputFile - target PDF file
        pdfConfig - extra PDF configuration
      • render

         Boolean render(Document sourceDocument, File outputFile, PdfConfig pdfConfig)

        Render PDF from given Document

        Parameters:
        sourceDocument - source document
        outputFile - target PDF file
        pdfConfig - extra PDF configuration