Loads source settings from file (previously saved using SourceSettingsSave).
Source settings are filled when IETwainParams.ShowSettingsOnly is true and you call IEImage.AcquireFromTwain().
Assembly: IEvolution2 (in IEvolution2.dll) Version: 14.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void SourceSettingsLoad( Stream stream )
Public Sub SourceSettingsLoad ( _ stream As Stream _ )
public: void SourceSettingsLoad( Stream^ stream )
Parameters
- stream
- Stream
Settings stream.
Examples

// first session: show scanner dialog only to set scanner settings ieViewer1.Image.TwainParams.ShowSettingsOnly = true; ieViewer1.Image.AcquireFromTwain(); ieViewer1.Image.TwainParams.SourceSettingsSave("mysettings.dat"); // another session: use saved settings ieViewer1.Image.TwainParams.ShowSettingsOnly = false; ieViewer1.Image.TwainParams.UseScannerDialog = false; ieViewer1.Image.TwainParams.SourceSettingsLoad("mysettings.dat"); ieViewer1.Image.AcquireFromTwain();