If ShowSettingsOnly is True the scanner driver will show settings dialog, without acquire the image.

You could use IETWainParams.SourceSettingsSave and IETWainParams.SourceSettingsLoad to handle scanner settings.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool ShowSettingsOnly { get; set; }
Public Property ShowSettingsOnly As Boolean
	Get
	Set
public:
property bool ShowSettingsOnly {
	bool get ();
	void set (bool value);
}

Examples

CopyC#
// 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();

See Also