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



The CurrentDriveNumber Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the current drive number.

Syntax

Visual Basic (Declaration) 
Public Property CurrentDriveNumber As Integer
Visual Basic (Usage)Copy Code
Dim instance As MediaWriter
Dim value As Integer
 
instance.CurrentDriveNumber = value
 
value = instance.CurrentDriveNumber
C# 
public int CurrentDriveNumber {get; set;}
C++/CLI 
public:
property int CurrentDriveNumber {
   int get();
   void set (int value);
}

Return Value

An integer value representing the current writable drive selected.

Remarks

Gets or sets a zero-based index of the currently selected writable drive. To retrieve the count of drives that support media writing, look at the Count property on the Drives list. When setting the current drive, the drive to be selected must be in the idle state to succeed. See also MediaWriterDrive.

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