Leadtools.MediaWriter Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.0.01.14
EjectDisc Method
See Also 
Leadtools.MediaWriter Namespace > MediaWriterDrive Class : EjectDisc Method



The EjectDisc Method is available in LEADTOOLS Document and Medical Imaging 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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