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.SetSource(ieaTwain, Default_Device) then
  ImageEnMView1.MIO.Acquire;



Twain Communication Methods

Public Method  Assign
Public Method  Create
Public Method  FreeResources
Public Method  GetDefaultSource
Public Method  GetFromScanner
Public Method  IsCapabilitySupported
Public Method  SelectSourceByName
Public Method  SetDefaultParams
Public Method  Update


Twain Properties

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 Property  Highlight
Public Property  Language
Public Property  LastErrorStr
Public Property  LastError
Public Property  LogFile
Public Property  Orientation
Public Property  PaperDetectable
Public Property  PhysicalHeight
Public Property  PhysicalWidth
Public Property  PixelType
Public Property  ProgressIndicators
Public Property  Rotation
Public Property  SelectedSource
Public Property  Shadow
Public Property  ShowSettingsOnly
Public Property  SourceCount
Public Property  SourceName
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