Method XbpMetaFile():setBuffer() Foundation

Sets or retrieves the graphic data in the buffer.

Syntax
:setBuffer( [<cBuffer>] ) --> cOldBuffer
Parameters
<cBuffer>
<cBuffer> is a character string containing graphic data. The value in <cBuffer> is generally set using the method :setBuffer(). This allows graphic data to be exchanged between different XbpMetaFile objects.
Return

This method returns the graphic data from a metafile as a character string. When <cBuffer> is specified, the return value contains the graphic data contained in the XbpMetaFile object before the method was called.

Description

The :setBuffer() method sets or retrieves the internal buffer of the XbpMetaFile object. This buffer contains the graphic data from a metafile. Since the buffer contents can be replaced using the :setBuffer() method, a single XbpMetaFile object can be used to display graphic data from several metafiles.

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.