Saves the settings of the source's user interface.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool SaveCustomDSData( string strSaveFileName ) |
| Visual Basic |
|---|
Public Function SaveCustomDSData ( _ strSaveFileName As String _ ) As Boolean |
Parameters
- strSaveFileName
- Type: System..::..String
Return Value
True indicates success. False indicates failure.
Remarks
You can set IfShowUI to true to display the user interface of the source.
After saving the settings of the UI, you can use LoadCustomDSData or LoadCustomDSDataEx to restore the configurations.
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |