Write-only |
About Saving to File |
Description |
Saves the screen image to a bitmap file. |
VB Syntax |
app.PrintToFile filename |
Variable |
(Type) - Description |
app |
An Application (object) |
filename |
(string) Full path, file name, and extension of the screen image file. Files are typically stored in "D:\". Use one of the following extensions:
|
Return Type |
Not Applicable |
Default |
Not Applicable |
Examples |
app.PrintToFile "D:\myfile.png" |
C++ Syntax |
HRESULT PrintToFile(BSTR bstrFile) |
Interface |
IApplication |