RESTORE IMAGE
Topic group Related topics Example
Displays an image stored in a file or a binary field.
Syntax
RESTORE IMAGE FROM
<filename> | ? | <filename skeleton> | BINARY <binary field>
[TIMEOUT <expN>]
[TO PRINTER]
[[TYPE] <file type>]
FROM <filename> | ? | <filename skeleton> | BINARY <binary field>
Identifies the file or binary field to restore the image from. RESTORE IMAGE FROM ? and RESTORE IMAGE FROM <filename skeleton> display the Open Source File dialog box, which lets the user select a file. <filename> is the name of an image file; RESTORE IMAGE assumes a .BMP extension and file type unless you specify otherwise. If you specify a file without including its path, dBASE Plus looks for the file in the current directory, then in the path you specify with SET PATH. RESTORE IMAGE FROM BINARY <binary field> displays the image stored in a binary field. You store an image in a binary field with the REPLACE BINARY command.
TIMEOUT <expN>
Specifies the number of seconds the image is displayed onscreen.
TO PRINTER
Sends the image to the printer as well as to the screen.
[TYPE] <file type>
Specifies a bitmap image format, and assumes a .BMP format and filename extension if none is given. The word TYPE is optional. See class Image for a list of image formats supported by dBASE Plus.
Description
Use RESTORE IMAGE to display a bitmap image that was generated and saved in any of the supported image file formats. The image is displayed in a window.