 
            | ImageGear22.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : DeleteFile Method | 
recursive is set to true, and the specified fileName is a directory, then all the files and directories within the fileName will be deleted.
'Usage Dim instance As ImGearTWAIN Dim fileName As String Dim recursive As Boolean instance.DeleteFile(fileName, recursive)
recursive is set to true, and the specified fileName is a directory, then all the files and directories within the fileName will be deleted.Prior to calling this method, use OpenSource to select the desired Data Source.