Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- fileName
- Specifies the name or pathname of the file to which to save the settings.
Exception | Description |
---|---|
ImageGear.Core.ImGearException | Thrown if no data source is open, or if the file is not being saved to one of the following directories: MyDocuments, MyPictures, MyMusic, or MyVideos. |
This method saves data source settings to the specified file. A settings file contains settings for one TWAIN device. Settings for other TWAIN devices will need to be saved to separate settings files.
The settings file can be used to restore the data source settings to this data source using the LoadDataSourceSettings method.
Note: Files written by this method cannot be loaded by the ImGearTWAIN.LoadCustomDSData(string fileName) method of the ImageGear .NET TWAIN API.