Click or drag to resize

Acquisition Methods

The Acquisition type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAcquire
Acquires an image from the system default device.
Public methodCode exampleAcquireModal Obsolete.
Acquires a single image synchronously instead of using the ImageAcquired event.
Public methodCreateDeviceSession

Returns a new Device class that uses its own TwainController instead of the controller used by the Acquisition object for a single session scan. This may be required for some remote systems such as Citrix.

Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Closes any TWAIN connections and releases resources back to the system.
(Overrides ComponentDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Calls Dispose().
(Overrides ComponentFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodCode exampleShowSelectSource
Displays the "Select Source" dialog, allowing end users to select the device they want to use.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
See Also