ImageEn, unit ietwain

TIETwainParams.DeviceOnline

TIETwainParams.DeviceOnline

Declaration

property DeviceOnline: Boolean;

Description

Returns True if the physical hardware (e.g. scanner, digital camera, image database, etc.) that represents the image source is attached, powered on, and communicating.

Warning!! Many (almost all) devices still return "True" when they are off or disconnected.

Twain Property: CAP_DEVICEONLINE

Note: Use IsCapabilitySupported to determine if this capability is supported by the current scanner

Read-only

Example

if not ImageEnView1.IO.TwainParams.DeviceOnline then
  ShowMessage( 'Scanner appears to be offline' );

See Also

Acquire
GetFromScanner