'Usage Dim instance As ImGearTWAIN Dim fileName As String Dim recursive As Boolean instance.DeleteFile(fileName, recursive)
Parameters
- fileName
- The name (not the pathname) of the file or directory to delete.
- recursive
- When
recursive
is set to true, and the specifiedfileName
is a directory, then all the files and directories within thefileName
will be deleted.