SAVEPICTURE( ) Function

JavaScript Editor js editor     Web development 



Main Page

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



JavaScript Editor js editor     Web development