CATable::GraphToFile
bool GraphToFile(fileName, mimeType)
Description
Creates a graph image of the data contained in the CATable object formatted using the «mimeType» and writes it to file «fileName». It uses attribute settings for the CAObject from which the CATable was obtained to control graph settings, uncertainty settings, and number format. The GraphWidth and GraphHeight properties control the size of the graph image in pixels.
Return value
Boolean (success)
Parameters
- fileName – string
- mimeType – string, usually one of:
- "image/png"
- "image/jpeg"
- "image/bmp"
- "image/tiff"
Usage
tab.GraphWidth = 350 tab.GraphHeight = 200 b = tab.GraphToFile( "C:\data\trends.png","image/png" )
See Also
Comments
Enable comment auto-refresher