ImageGear for .NET
DeleteFile Method
See Also  Send Feedback
ImageGear21.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : DeleteFile Method




fileName
The name (not the pathname) of the file or directory to delete.
recursive
When recursive is set to true, and the specified fileName is a directory, then all the files and directories within the fileName will be deleted.

Glossary Item Box

This method deletes a file or directory on the device.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

fileName
The name (not the pathname) of the file or directory to delete.
recursive
When recursive is set to true, and the specified fileName is a directory, then all the files and directories within the fileName will be deleted.

Remarks

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

See Also

©2013. Accusoft Corporation. All Rights Reserved.