CATable::GraphToStream
Revision as of 22:45, 15 February 2012 by Lchrisman (talk | contribs) (Created page with "<< Back to CATable = bool GraphToStream(stream, mimeType) = ==Description== Creates a graph image of the data contained in the CATable object formatted using t...")
bool GraphToStream(stream, mimeType)
Description
Creates a graph image of the data contained in the CATable object formatted using the mimeType, and writes it to stream, a Windows IStream. The size of the image in pixels is controlled by the GraphWidth and GraphHeight properties of the table.
- Note: Note: An IStream is not interchangeable with a .NET System.Io.Stream object (including a Response.OutputStream object in ASP.NET). A wrapper class is necessary for converting between these. TBD: The Wrapper class and more instructions should be included here.
Return value
Boolean (success)
Parameters
- stream – string
- mimeType – string, usually one of:
"image/png"
"image/jpeg"
"image/bmp"
"image/tiff"
Usage
tab.GraphWidth = 350 tab.GraphHeight = 200 dim outStream as StringConnector = _new StreamConnector(Response.OutputStream) b = tab.GraphToStream( outStream, "image/jpeg")
See Also
- ADE User Guide, Using the Analytica Graphing Engine in Chapter 4
- CATable::GraphToFile
Comments
Enable comment auto-refresher