Declaration
property TwainParams: TIETwainParams;
Description
TwainParams provides access to properties for acquisition from Twain scanners and cameras. You can enable/disable the standard user interface, set pixeltype (Grayscale, RGB...), DPI, etc.
Note: Use TwainParams only when you need access to Twain specific parameters and functionality (when
SelectedAcquireSource.Api is ieaTwain). For generic access to all image acquisitions sources (Twain, WIA, etc.) use
AcquireParams instead.
// 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();
See Also
◼TIETwainParams◼AcquireParams◼SelectedAcquireSource