LEADTOOLS Multimedia (Leadtools.MediaWriter assembly) Send comments on this topic. | Main Raster Introduction | Multimedia Introduction | Help Version 17.0.3.30
OnProgress Event
See Also 
Leadtools.MediaWriter Namespace > MediaWriterDrive Class : OnProgress Event



The OnProgress Event is available in LEADTOOLS LEADTOOLS Document and Medical Imaging and in LEADTOOLS DVD Module toolkits.

The event delegate for writable drive progress events.

Syntax

Visual Basic (Declaration) 
Public Event OnProgress As EventHandler(Of MediaWriterProgressEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As MediaWriterDrive
Dim handler As EventHandler(Of MediaWriterProgressEventArgs)
 
AddHandler instance.OnProgress, handler
C# 
public event EventHandler<MediaWriterProgressEventArgs> OnProgress
C++/CLI 
public:
event EventHandler<MediaWriterProgressEventArgs^>^ OnProgress

Event Data

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

PropertyDescription
Cancel The cancelable property for this event type.
Complete Variable containing the current completion status of the writable drive operation.
Description String value description of the current operation being performed, or error encountered.
Progress Variable containing the current progress of the writable drive operation.
State Variable containing the current state of the writable drive operation.

Example

For an example, refer to MediaWriterDrive.BurnDisc example.

Remarks

This event is fired for progress events on the MediaWriterDrive object.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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