Saves the Picture property to a file.
Object.SaveToFile ( sFileName )
The SaveToFile method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AImage |
AImage control |
|
sFileName |
Val BString |
A string expression specifying a filename to save the Picture property of the control. |
The following example will save the AImage's Picture property to xfilename.bmp:
img1.SaveToFile("c:\dirname\xfilename.bmp"))