Visual Basic (Declaration) | |
---|---|
Public Property Event As TwainCapabilityValue |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public TwainCapabilityValue Event {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property TwainCapabilityValue get_Event(); public: __property void set_Event( TwainCapabilityValue value ); |
C++/CLI | |
---|---|
public: property TwainCapabilityValue Event { TwainCapabilityValue get(); void set (TwainCapabilityValue value); } |
Return Value
Device events used by the TWAIN source. Possible values are (according to the TWAIN 1.9 specification):TwainCapabilityValue.DeviceEventCustomEventsBaseline for events specific to a given Source. TwainCapabilityValue.DeviceEventCheckAutomaticCaptureThe automatic capture settings on the device have been changed by the user. TwainCapabilityValue.DeviceEventCheckBatteryThe status of the battery has changed. TwainCapabilityValue.DeviceEventCheckDeviceOnlineThe device has been turned off and on. TwainCapabilityValue.DeviceEventCheckFlashThe flash setting on the device has been changed by the user. TwainCapabilityValue.DeviceEventCheckPowerSupplyThe power supply has been changed (for instance, the user may have just connected AC to a device that was running on battery power). TwainCapabilityValue.DeviceEventCheckResolutionThe x/y resolution setting on the device has been changed by the user. TwainCapabilityValue.DeviceEventDeviceAddedThe user has added a device (for instance a memory card in a digital camera). TwainCapabilityValue.DeviceEventDeviceOfflineA device has become unavailable, but has not been removed. TwainCapabilityValue.DeviceEventDeviceReadyThe device is ready to capture an image. TwainCapabilityValue.DeviceEventDeviceRemovedThe user has removed a device. TwainCapabilityValue.DeviceEventImageCapturedThe user has captured an image to the device’s internal storage. TwainCapabilityValue.DeviceEventImageDeletedThe user has removed an image from the device’s internal storage. TwainCapabilityValue.DeviceEventPaperDoubleFeedTwo or more sheets of paper have been fed together. TwainCapabilityValue.DeviceEventPaperJamThe device’s document feeder has jammed. TwainCapabilityValue.DeviceEventLampFailureThe device’s light source has failed. TwainCapabilityValue.DeviceEventPowerSaveThe device has powered down to save energy. TwainCapabilityValue.DeviceEventPowerSaveNotifyThe device is about to power down to save energy.
Refer to GetDeviceEventData example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family