Click or drag to resize
AspriseImagingScan Method (Request, String, Boolean, Boolean)

» Asprise Scan Home · Developer's Guide

Performs scanning from a device and output (return, save, and/or upload).

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 Result Scan(
	Request scanRequest,
	string sourceName,
	bool showUI,
	bool modalUI
)

Parameters

scanRequest
Type: asprise_imaging_apiRequest
scan request object
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: Result
Scan result or null if user cancels.
See Also