Click or drag to resize
AspriseImagingScanAndReturnRaw Method

» Asprise Scan Home · Developer's Guide

Performs scanning from a device and output result in JSON.

Namespace: asprise_imaging_api
Assembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public string ScanAndReturnRaw(
	string scanRequestInJson,
	string sourceName,
	bool showUI,
	bool modalUI
)

Parameters

scanRequestInJson
Type: SystemString
scan request in JSON format.
sourceName
Type: SystemString
the exact source name or "select" to prompt dialog selection; "default" to use default source; "current" refers to current opened source if any.
showUI
Type: SystemBoolean
set to true to use scanner UI or false to hide the UI. Set to true for maximum compatibility.
modalUI
Type: SystemBoolean
whether the scanner UI should be modal. Set to to true if you are not sure.

Return Value

Type: String
Scan result in JSON or null if user cancels.
See Also