Click or drag to resize
AspriseImagingScanListSources Method (Boolean, String, Boolean, Boolean)

» Asprise Scan Home · Developer's Guide

Retrieve list of sources (i.e., devices) optionally with caps; the default source has "default" set to true.

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 List<Source> ScanListSources(
	bool nameOnly,
	string capsToRetrieve,
	bool detectDeviceType,
	bool excludeTwainDsOnWia
)

Parameters

nameOnly
Type: SystemBoolean
if true, return source with name only otherwise return with capabilities info
capsToRetrieve
Type: SystemString
only effective if nameOnly is false - cap name or code separated by comma or 'all' to list all caps supported.
detectDeviceType
Type: SystemBoolean
detect whether the device has ADF and/or flatbed.
excludeTwainDsOnWia
Type: SystemBoolean
exclude WIA synthesized sources

Return Value

Type: ListSource
See Also