writePDF static method

Future<File?> writePDF(
  1. String path,
  2. String fileName, {
  3. bool overwrite = true,
  4. dynamic pdfPageFormat = PDFPageFormat.fitToPages,
})

Generates a PDF Document from the scanned document.

Implementation

static Future<File?> writePDF(String path, String fileName,
    {bool overwrite = true, pdfPageFormat = PDFPageFormat.fitToPages}) {
  return DocutainSdkPlatform.instance
      .writePDF(path, fileName, overwrite, pdfPageFormat);
}