ImageEn, unit ietwain

TIETwainParams


Declaration

TIETwainParams = class;


Description

The TIETwainParams object contains many properties and methods to control Twain scanners without using the default dialog.
Do not create this class directly, but access via TImageEnMView.MIO.TwainParams or TImageEnView.IO.TwainParams




Example

// Acquire a black/white (1bit) image from the default Twain device
ImageEnMView1.MIO.TwainParams.PixelType.CurrentValue := 0;
If ImageEnMView1.MIO.SetAcquireSource(ieaTwain, Default_Device) then
  ImageEnMView1.MIO.Acquire();



Twain Communication

Public Method  Assign
Public Method  FreeResources
Public Method  GetDefaultSource
Public Property  LastErrorStr
Public Property  LastError
Public Property  LogFile
Public Property  SelectedSource
Public Method  SelectSourceByName
Public Property  SourceCount
Public Property  SourceName
Public Method  SourceNameToIndex
Public Method  Update


Twain Configuration

Public Property  AcceptedImages
Public Property  AcquireFrameBottom
Public Property  AcquireFrameEnabled
Public Property  AcquireFrameLeft
Public Property  AcquireFrameRight
Public Property  AcquireFrameTop
Public Property  AppManufacturer
Public Property  AppProductFamily
Public Property  AppProductName
Public Property  AppVersionInfo
Public Property  AutoBorderDetection
Public Property  AutoBright
Public Property  AutoDeskew
Public Property  AutoDiscardBlankPages
Public Property  AutoFeed
Public Property  AutoRotate
Public Property  AutoScan
Public Property  BitDepth
Public Property  Brightness
Public Property  BufferedTransfer
Public Property  CapabilitiesValid
Public Property  CompatibilityMode
Public Property  Contrast
Public Property  Country
Public Property  DeviceOnline
Public Property  DuplexEnabled
Public Property  DuplexSupported
Public Property  FeederEnabled
Public Property  FeederLoaded
Public Property  FileTransfer
Public Property  Filter
Public Property  Gamma
Public Method  GetFromScanner
Public Property  Highlight
Public Method  IsCapabilitySupported
Public Property  Language
Public Property  Orientation
Public Property  PaperDetectable
Public Property  PhysicalHeight
Public Property  PhysicalWidth
Public Property  PixelType
Public Property  ProgressIndicators
Public Property  Rotation
Public Method  SetDefaultParams
Public Property  Shadow
Public Property  ShowSettingsOnly
Public Property  StandardSize
Public Property  Threshold
Public Property  UndefinedImageSize
Public Property  UseMemoryHandle
Public Property  VisibleDialog
Public Property  XResolution
Public Property  XScaling
Public Property  YResolution
Public Property  YScaling