BBjChart::writePNGToServer
Description
In BBj 7.0 and higher, this method creates a PNG image of the BBjChart and writes it to a file on the server.
Syntax
| Return Value | Method | 
| void | writePNGToServer(string filename) | 
| void | writePNGToServer(string filename, boolean writeAlpha, int compression) | 
| void | writePNGToServer(string filename, number width, number height, boolean writeAlpha, int compression) | 
Parameters
| Variable | Description | 
| compression | An indication of the desired compression level (0-9) | 
| filename | The name of the file on the server to which the PNG image is to be written | 
| height | The height in pixels of the desired PNG file | 
| width | The width in pixels of the desired PNG file | 
| writeAlpha | An indication of whether the PNG file should contain alpha information | 
Return Value
None.
Remarks
None.
Example
|  | 
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.