AspriseImagingScan Method (String, String, Boolean, Boolean) |
Performs scanning from a device and output (return, save, and/or upload).
Namespace: asprise_imaging_apiAssembly: 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(
string scanRequestInJson,
string sourceName,
bool showUI,
bool modalUI
)
Public Function Scan (
scanRequestInJson As String,
sourceName As String,
showUI As Boolean,
modalUI As Boolean
) As Result
public:
Result^ Scan(
String^ scanRequestInJson,
String^ sourceName,
bool showUI,
bool modalUI
)
member Scan :
scanRequestInJson : string *
sourceName : string *
showUI : bool *
modalUI : bool -> Result
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:
ResultScan result or null if user cancels.
See Also