createDocumentFromPdf method

Future<Result<DocumentData>> createDocumentFromPdf(
  1. String pdfFileUri, {
  2. CreateDocumentOptions? options,
})

Creates a document from the provided PDF file with the specified options.

pdfFileUri - The PDF file uri to be used for document creation. options - The options to be used for document creation.

Returns a Future that completes with created document.

Implementation

Future<Result<DocumentData>> createDocumentFromPdf(String pdfFileUri,
    {CreateDocumentOptions? options}) {
  return ScanbotDocumentImpl.createDocumentFromPdf(pdfFileUri, options);
}