version 6.0
WR O Save to picture (area) Picture
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| Function result | Picture | 4th Dimension picture |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR Area to picture command.
Description
The command WR O Save to picture returns a 4th Dimension picture that contains the document in area. The resulting picture is equivalent to the value that is automatically stored in a picture field by 4D Write. This command is useful when area is saved manually to a field or on disk. You can also use this command to retrieve a 4D Write document from an offscreen area.
The difference between WR O Area to picture and WR O Save to picture is subtle. WR O Save to picture sets the document-saved flag for area to True while WR O Area to picture does not. Consequently, closing the window or form that contains area after a call to WR O Save to picture will not cause 4D Write to prompt you to save the document.
Note: The result of this function must be put in either a 4th Dimension picture field or a variable.
See Also