LEADTOOLS Multimedia (Leadtools.MediaWriter assembly)

OnDeviceEvent Event

Show in webframe





The event delegate for writable drive eject and load events.
Syntax
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent
'Declaration
 
Public Event OnDeviceEvent As EventHandler(Of MediaWriterDevNotifyEventArgs)
'Usage
 
Dim instance As MediaWriterDrive
Dim handler As EventHandler(Of MediaWriterDevNotifyEventArgs)
 
AddHandler instance.OnDeviceEvent, handler

            

            
public:
event EventHandler<MediaWriterDevNotifyEventArgs^>^ OnDeviceEvent
Event Data

The event handler receives an argument of type MediaWriterDevNotifyEventArgs containing data related to this event. The following MediaWriterDevNotifyEventArgs properties provide information specific to this event.

PropertyDescription
Description Description string for the related event state.
State The current device state for this event.
Remarks
This event is fired for device events on the MediaWriterDrive object. Supported event states are StateEmpty and StateLoaded.
Example
For an example, refer to MediaWriterDrive.BurnDisc example.
Requirements

Target Platforms

See Also

Reference

MediaWriterDrive Class
MediaWriterDrive Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MediaWriter requires a Document, Medical or Multimedia toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features