Click or drag to resize
Source Class

» Asprise Scan Home · Developer's Guide

Represents a scanner device.
Inheritance Hierarchy
SystemObject
  asprise_imaging_apiSource

Namespace: asprise_imaging_api
Assembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Source

The Source type exposes the following members.

Constructors
  NameDescription
Public methodSource(String)
Initializes a new instance of the Source class
Public methodSource(XElement)
Initializes a new instance of the Source class
Top
Methods
  NameDescription
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.
Top
Fields
  NameDescription
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
Top
See Also