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



The EjectDisc Method is available in LEADTOOLS LEADTOOLS Document and Medical Imaging and in LEADTOOLS DVD Module toolkits.

Opens the the current CD or DVD drive tray.

Syntax

Visual Basic (Declaration) 
Public Sub EjectDisc() 
Visual Basic (Usage)Copy Code
Dim instance As MediaWriterDrive
 
instance.EjectDisc()
C# 
public void EjectDisc()
C++/CLI 
public:
void EjectDisc(); 

Remarks

If an error occurs a Win32Exception will be thrown. Please Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

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