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




sourceFileName
The path to the source file/directory.
destinationFileName
The path to the destination file/directory.
recursive
Specifies whether the copying is recursive or not.

Glossary Item Box

This method copies the specified file from one directory to another.

Syntax

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

Parameters

sourceFileName
The path to the source file/directory.
destinationFileName
The path to the destination file/directory.
recursive
Specifies whether the copying is recursive or not.

Remarks

If the Recursive flag is true and the file type specified is ImGearFileType.DIRECTORY, then that directory, and all the files and directories under it, are copied. The application cannot copy files into the root directory.

Use OpenSource to select the desired Data Source, prior to calling this method.

See Also

©2013. Accusoft Corporation. All Rights Reserved.