Method XbpMetaFile():load() Foundation

Loads a metafile.

Syntax
:load( <cFileName> ) --> lSuccess
Parameters
<cFileName>
<cFileName> is a character expression containing the file name for the metafile to load. The file name must be specified including the extension. If the file is not in the current directory, the entire file name including directory and/or drive must be specified.
Return

This method returns the value .T. (true) when the metafile could be loaded, otherwise it returns .F. (false).

Description

The :load() method loads a metafile into memory. The graphic data from the file can then be drawn in the presentation space using the :draw() method.

If <cFilename> does not exist or cannot be found, the :load() method returns the value .F. (false). No runtime error is generated.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.