AspriseImagingScanAndReturnRaw Method |
Performs scanning from a device and output result in JSON.
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 string ScanAndReturnRaw(
string scanRequestInJson,
string sourceName,
bool showUI,
bool modalUI
)
Public Function ScanAndReturnRaw (
scanRequestInJson As String,
sourceName As String,
showUI As Boolean,
modalUI As Boolean
) As String
public:
String^ ScanAndReturnRaw(
String^ scanRequestInJson,
String^ sourceName,
bool showUI,
bool modalUI
)
member ScanAndReturnRaw :
scanRequestInJson : string *
sourceName : string *
showUI : bool *
modalUI : bool -> string
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:
StringScan result in JSON or null if user cancels.
See Also