The OnDeviceEvent Event is available in LEADTOOLS Document and Medical Imaging toolkits.
The event delegate for writable drive eject and load events.Visual Basic (Declaration) | |
---|---|
Public Event OnDeviceEvent() As EventHandler(Of MediaWriterDevNotifyEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent() |
C++/CLI | |
---|---|
public: event EventHandler<MediaWriterDevNotifyEventArgs>^ OnDeviceEvent(); |
For an example, refer to MediaWriterDrive.BurnDisc example.
This event is fired for device events on the MediaWriterDrive object. Supported event states are StateEmpty and StateLoaded.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family