Skip to main content

Creating PDF Documents | React Native Document Scanner

PDF Creation

ScanbotSDK.createPDF(args: CreatePDFArguments): Promise

The Scanbot SDK renders given images into a PDF document and stores it as a file. For each image a separate page is generated.


  • imageFileUris - Input images as an array of file URIs in proper order (image element 1 => page 1, etc).
  • options - an object containing some of the following properties:
    • pageSize - PDFPageSize type object to specify the output page size.
    • pageOrientation - PDFPageOrientation type object which sets the orientation of the PDF
    • metadata - PDFMetadata type object which allows setting metadata properties to the PDF such as author, title etc.


Returns an object with the following properties:

  • pdfFileUri - file URI with the path to the created PDF file

Want to scan longer than one minute?

Generate your free "no-strings-attached" Trial License and properly test the Scanbot SDK.

Get your free Trial License

What do you think of this documentation?

On this page

Scroll to top