Loads the configurations of the source's users interface saved by SaveCustomDSData or SaveCustomDSDataEx.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool LoadCustomDSData( string strFileName ) |
| Visual Basic |
|---|
Public Function LoadCustomDSData ( _ strFileName As String _ ) As Boolean |
Parameters
- strFileName
- 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.
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. |