Class TwainSourceManager
Class to manage available twain sources and their configurations
Inheritance
System.Object
TwainSourceManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Twain
Assembly: Simplic.Twain.dll
Syntax
public class TwainSourceManager
Properties
| Improve this Doc View SourceSingleton
Singleton access to twain source manager
Declaration
public static TwainSourceManager Singleton { get; }
Property Value
Type | Description |
---|---|
TwainSourceManager |
TwainSources
List with all available twain sources
Declaration
public IList<TwainSource> TwainSources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TwainSource> |
Methods
| Improve this Doc View SourceGetByName(String)
Get a twain source by it's name
Declaration
public TwainSource GetByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the source, case insensitive |
Returns
Type | Description |
---|---|
TwainSource |
Refresh()
Refresh twain sources
Declaration
public void Refresh()