Mobile Document Scanner API Reference / ScanOutput
Type Alias: ScanOutput
ScanOutput = {
document:Blob;format:"pdf"; } | {document:Blob;format:"tiff"; } | {format:"images";images: readonlyBlob[]; }
Defined in: src/results.ts:196
The scanned document, encoded as ScannerSettings.output asks. Without that setting, the result has no ScanOutput.
Union Members
Type Literal
{ document: Blob; format: "pdf"; }
Every page in one PDF.
Type Literal
{ document: Blob; format: "tiff"; }
Every page in one TIFF.
Type Literal
{ format: "images"; images: readonly Blob[]; }
One image per page, in page order.