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



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

(Read only) Gets the capacity, in bytes, of the inserted media in the current drive.

Syntax

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

Return Value

A integer value representing the size in bytes of the current media.

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