Mobile Document Scanner API Reference / ResourceSettings
Interface: ResourceSettings
Defined in: src/settings/settings.ts:116
The locations of the runtime files of the engines. By default, the engines fetch them from a CDN.
Properties
captureVision?
optionalcaptureVision?:EngineResourcePaths
Defined in: src/settings/settings.ts:123
The resource paths of Capture Vision, in the shape of its own engineResourcePaths. The document scanner passes them to the engine as given.
Default Value
{ rootDirectory: "https://cdn.jsdelivr.net/npm/" }
documentViewer?
optionaldocumentViewer?:string
Defined in: src/settings/settings.ts:131
The directory of the runtime files of Document Viewer. The default directory is under the rootDirectory of captureVision, for the version of Document Viewer that the page loads.
Default Value
<rootDirectory>/dynamsoft-document-viewer@<version>/dist/engine