Method XbpMetaFile():load() Foundation

Loads a metafile.

:load( <cFileName> ) --> lSuccess
<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.

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


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.


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.