Accusoft.TwainPro9.Net
SaveSettings Method




A string representation of a legal file name (path) to which the settings will be saved.
Saves the scanner settings to file.
Syntax
'Declaration
 
Public Sub SaveSettings( _
   ByVal filename As String _
) 
'Usage
 
Dim instance As TwainDevice
Dim filename As String
 
instance.SaveSettings(filename)
public void SaveSettings( 
   string filename
)
public: void SaveSettings( 
   string* filename
) 
public:
void SaveSettings( 
   String^ filename
) 

Parameters

filename
A string representation of a legal file name (path) to which the settings will be saved.
Remarks

This method will save the settings of all settable, documented capabilities to file. A settings file contains settings for one TWAIN device, and settings for other TWAIN devices will need to be saved to separate settings files.

The LoadSettings method can be used to later load the settings from file. Note that your scanner might not support setting all of the capabilities that are saved in the settings file. If you set the Debug property to True to write a Debug Log File, then during the LoadSettings operation all unsupported capabilities will be written to the Debug Log File.

See Also

Reference

TwainDevice Class
TwainDevice Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback