Copies a file or directory from one location to another.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax public void Copy(
string fromPath,
string toPath,
bool overwrite
)
Public Sub Copy (
fromPath As String,
toPath As String,
overwrite As Boolean
)
Parameters
- fromPath
- Type: System.String
The path of the file or directory to copy. - toPath
- Type: System.String
The destination path of the file or directory. - overwrite
- Type: System.Boolean
Determines if this method will overwrite a file or directory if one of the same name
already exists.
See Also