Saves the data in the current viewable range for visible pens to the specified file.
Defined As
Parameters
filename
[in]
Indicates the
name and path of the file that the data will be exported to.
Execution Result
If the function succeeds the return value will be Success. If the function does not succeed the return value will be GeneralFailure.
Remarks
The timestamp of each sample will be in local time defined by your computer. The start and end sample maybe generated for each pen to indicate the exported range of the data.
See Also
IProcessAnalyst.CopyToClipboard [Method]
Calling Syntax
Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".
[VBA]
Sub Example()
myPage_AN35.CopyToFile "test.xls"
End Sub
[Cicode]
Sub Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
_ObjectCallMethod(hProcessAnalyst, "CopyToFile", "test.xls");
End Sub