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.
CreatePDFArguments:
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 PDFmetadata
- PDFMetadata type object which allows setting metadata properties to the PDF such asauthor
,title
etc.
Returns
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 LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.