ImageEn, unit iewia

TIEWia.ConnectToUsingDialog

TIEWia.ConnectToUsingDialog

Declaration

function ConnectToUsingDialog(ExceptOnNoSrc: Boolean = False): boolean;

Description

Shows a system dialog that allows users to select a WIA device. Returns True if user presses OK.
if ExceptOnNoSrc = True, then an exception is raised if no WIA devices are found.

Example

If ImageEnView.IO.WiaParams.ConnectToUsingDialog() then
  ImageEnView.IO.Acquire(ieaWIA);