ImageGear22.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : FormatMedia Method |
This method formats the specified storage device.
Caution: All images and subdirectories under the selected device will be destroyed.
'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 )
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.