SaveToFile Method (AImage)

Saves the Picture property to a file.

Syntax

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.

Example

The following example will save the AImage's Picture property to xfilename.bmp:

img1.SaveToFile("c:\dirname\xfilename.bmp"))

Applies to

AImage

See Also

LoadFromFile, Picture