Creates a bitmap (.bmp) file from a picture object reference.
SAVEPICTURE(oObjectReference, cFileName) |
Parameters
- oObjectReference
-
Specifies a picture object reference from which SAVEPICTURE( ) creates a bitmap file.
- cFileName
-
Specifies the name of the bitmap file that SAVEPICTURE( ) creates. If cFileName includes a path, the file is created in the directory specified in the path. If a file with the same name already exists, it is overwritten without warning, even if SET SAFETY is ON.
Return Value
Logical
Remarks
Picture object references are typically created with LOADPICTURE( ). However, certain properties (such as the PictureOpen property for the OLE Outline control) use a default picture object reference, which can be used to create a bitmap file.
See Also
Reference
LOADPICTURE( ) FunctionSET SAFETY Command
_ObjectReference( ) API Library Routine
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08