ImageGear.Web.Isis Namespace Client API Library > ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis_namespace > ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis.ImGearIsisScannerSession : getScanners Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function getScanners( callback : function ) : ImGearIsisOperationStatus; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearIsisScannerSession.getScanners(function); |
The JavaScript code below demonstrates how to get a list of the connected devices:
This is an asynchronous method.
The list is broken into two groups, connected devices and undetected devices, which are provided as ImGearIsisScannerCollections. The connected devices are detected using the ISIS scanner auto-detection feature. The undetected devices either aren't available or do not support the ISIS scanner auto-detection feature. Many devices cannot be automatically detected, so it is recommended to have a UI element such as a ListBox to show all the devices, not just the connected devices. The two groups will not have overlapping scanners.
Although the scanner collection is usually retrieved without user interaction, some scanner drivers might display a message box or other window when they are accessed. For example, an unlicensed driver might display a message about permissions.
ImageGear.Web.Isis Namespace Client API~ImageGear.Web.Isis.ImGearIsisScannerSession
ImGearIsisScannerSession Members