Source Class
Click or drag to resize
Source Class

» Asprise Scan Home · Developer's Guide

Represents a scanner device.
Inheritance Hierarchy

Namespace: asprise_imaging_api
Assembly: (in Version: (
public class Source

The Source type exposes the following members.

Public methodSource(String)
Initializes a new instance of the Source class
Public methodSource(XElement)
Initializes a new instance of the Source class
Public methodStatic membercreateSourceList
Creates a list of Sources from the given JSON.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCap(Int32)
Gets the capability of the given code.
Public methodGetCap(String)
Gets the capability of the given name.
Public methodGetCaps
Gets all capabilities
Public methodStatic memberGetDefaultSource
Returns the first source marked as default in the first or null if not found.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetSourceByName
Returns the source object with given name or null if not found.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasFeeder
Whether this device has a feeder
Public methodHasFlatbed
Whether this device has a flatbed
Public methodIsDefault
Whether the source is the default source.
Public methodToString (Overrides ObjectToString.)
Public methodStatic memberxmlAttrAsInt
Reads XML attribute and returns its int value.
Public fieldcaps
Public fieldId
Id of the scanner.
Public fieldManufacturer
Device manufacturer.
Public fieldProductFamily
Device product family.
Public fieldProductName
Device product name - the identifier.
Public fieldProtocolMajor
Twain protocol major version
Public fieldProtocolMinor
Twain protocol minor version
Public fieldSupportedGroups
Twain supported groups
See Also