SavePicture Function | |
-- todo --
Creates a bitmap (.bmp) file from a picture object reference.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax FUNCTION SavePicture(
oObjectReference,
cFileName
) AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static bool SavePicture(
Usual oObjectReference = default,
Usual cFileName = default
)
Request Example
View SourceParameters
- oObjectReference (Optional)
- Type: Usual
Specifies a picture object reference from which SAVEPICTURE( ) creates a bitmap file.
- cFileName (Optional)
- Type: Usual
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
Type:
Logic
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