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 SaveCustomDSDataEx( out byte[] bytDate ) |
| Visual Basic |
|---|
Public Function SaveCustomDSDataEx ( _ <OutAttribute> ByRef bytDate As Byte() _ ) As Boolean |
Parameters
- bytDate
- Type: array<System..::..Byte>[]()[][]%
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. |