Click or drag to resize

DeviceEventArgs Class

Contains information about a device event.
Inheritance Hierarchy

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: (.NET 4.5.2, x86)
public class DeviceEventArgs : EventArgs

The DeviceEventArgs type exposes the following members.

Public propertyAutomaticCaptureCount
Gets the number of images that will be automatically captured by the device.
Public propertyBatteryMinutes
Gets the number of battery minutes remaining.
Public propertyBatteryPercentage
Gets the percentage of the battery remaining.
Public propertyCancelPending
Gets or sets a value which determines if the pending images will be acquired.
Public propertyDeviceName
Gets the product name of the device which fired the event.
Public propertyEvent
Gets the event that was triggered.
Public propertyFlash
Gets the flash mode of the device.
Public propertyPowerSupply
Gets the type of power supply being used.
Public propertyResolution
Gets the resolution of the device.
Public propertyTimeBeforeFirstCapture
Gets the number of milliseconds before the first capture will take place.
Public propertyTimeBetweenCaptures
Gets the number of milliseconds between captures.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Which properties are filled depends on the DeviceEventFlags which fired.
See Also