ImageGear .NET v24.12 - Updated
FormatMedia Method




ImageGear24.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : FormatMedia Method
The name of the scanning device.

This method formats the specified storage device.

Caution: All images and subdirectories under the selected device will be destroyed.

Syntax
'Declaration
 
Public Sub FormatMedia( _
   ByVal deviceName As String _
) 
'Usage
 
Dim instance As ImGearTWAIN
Dim deviceName As String
 
instance.FormatMedia(deviceName)
public void FormatMedia( 
   string deviceName
)
public: void FormatMedia( 
   string* deviceName
) 
public:
void FormatMedia( 
   String^ deviceName
) 

Parameters

deviceName
The name of the scanning device.
Remarks

Caution: All images and subdirectories under the selected device will be destroyed.

Prior to calling this method, use OpenSource to select the desired Data Source.

See Also

Reference

ImGearTWAIN Class
ImGearTWAIN Members