First you need to get a picture from the ValueStorage:
<ValueStorageAttribute>.Get()
Next see the Syntax Assistant for the Picture object Write() method:
Picture.Write
Syntax:
Write(<FileName>)
Parameters:
<FileName> (required)
Type: String.
The full file name of the picture to be saved. If no directory name is specified, the picture will be saved in the directory of executable program files.
Description:
You can use it to write a picture to a file with a specified name.
Availability:
Thin client, web-client, server, thick client, external connection.
Example:
Picture.Write("C:\My Documents\My Pictures\home.bmp");