AspriseImagingScan Method (Request, 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(
Request scanRequest,
string sourceName,
bool showUI,
bool modalUI
)
Public Function Scan (
scanRequest As Request,
sourceName As String,
showUI As Boolean,
modalUI As Boolean
) As Result
public:
Result^ Scan(
Request^ scanRequest,
String^ sourceName,
bool showUI,
bool modalUI
)
member Scan :
scanRequest : Request *
sourceName : string *
showUI : bool *
modalUI : bool -> Result
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:
ResultScan result or null if user cancels.
See Also