Interface PDFRenderer

  • All Implemented Interfaces:

    
    public interface PDFRenderer
    
                        

    Provides methods for PDF rendering

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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 uris
        sourceFilesEncrypted - should be true if source files are encrypted with Scanbot SDK encryption mechanism, otherwise - false
        pdfConfig - 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 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

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

        Render PDF from given array of Page objects

        Parameters:
        pages - array of source pages
        pdfConfig - 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 pages
        outputFile - target PDF file
        pdfConfig - extra PDF configuration
      • render

         abstract Boolean render(Document document, File outputFile, PdfConfig pdfConfig)

        Render PDF from given Document

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