ImageGear Professional for Windows ActiveX
CopyFile Method

Description:

Copies the specified file from one directory to another. If the Recursive flag is True and the file type specified is IG_TW_FY_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.

Syntax:

      CopyFile(SrcFileName As String, DestFileName As String,
Recursive As Boolean)

Parameters:

Name Description
SrcFileName The path to the source file/directory.
DestFileName The path to the destination file/directory.
Recursive Specifies whether the copying is recursive or not.

Return Value:

N/A

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback