Method XbpIcon():saveFile() Foundation

Saves an icon in a file.

Syntax
:saveFile( <cFilename> ) --> lSuccess
Parameters
<cFilename>
<cFilename> is a character string containing the name of the icon file to be saved.
Return

This method returns .T. (true) when the icon could be saved, otherwise it returns .F. (false).

Description

The :saveFile() method saves the image displayed by an XbpIcon object in an icon file. Note that the method does not overwrite existing files. If the file <cFilename> exists already, it must be deleted before calling :saveFile().

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.