Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

IKScannerDevicePanel.SetScannerDeviceID

Selects scanner by ID.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 6.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "IKScannerDevicePanel.SetScannerDeviceID"; ID )   More

Parameters

Parameter Description Example
ID Pass identifier for the scanner you want to use. "61B0A8E1-61B0-A8E1-61B0-A8E161B0A8E1"

Result

Returns OK or error.

Description

Selects scanner by ID.
Since v14.1 this function also sets the device to be the current device for all ImageCapture functions.

Examples

Select scanner by ID:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetScannerDeviceID"; "61B0A8E1-61B0-A8E1-61B0-A8E161B0A8E1" )]

Select scanner by name:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetScannerDeviceName"; "Brother DCP-8085DN")]

See also

This function is free to use.

Created 7th November 2016, last changed 25th January 2024


IKScannerDevicePanel.SetScanControlLabel - IKScannerDevicePanel.SetScannerDeviceName