Click or drag to resize

DeviceLoadParameters Method

Loads previously saved device parameters into the device.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void LoadParameters(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream containing the device parameters.
Exceptions
ExceptionCondition
Thrown if the stream argument is null.
Thrown if the stream is not seekable or if it does not have read access.
Thrown is there is an error loading these parameters.
Thrown if a connection to the device is not open.
Remarks

Use this method along with SaveParameters(Stream) to hold onto the property settings users have selected for a device.

See Also