Difference between revisions of "CAPicture"

m (Changed forward link to next page to a new inserted page)
 
Line 44: Line 44:
 
{| style="margin: 1em auto 1em auto;width: 100%;border:0;table-layout: fixed;" cellpadding=5
 
{| style="margin: 1em auto 1em auto;width: 100%;border:0;table-layout: fixed;" cellpadding=5
 
|- style="text-align: center"
 
|- style="text-align: center"
|  [[CALicense]]  <-  ||  [[CAPicture]] || -> [[IAdeUICallbacks]]
+
|  [[CALicense]]  <-  ||  [[CAPicture]] || -> [[CAGraphPivot]]
 
</translate>
 
</translate>

Latest revision as of 21:22, 28 July 2017


ADE User Guide > ADE Server Class Reference >

new to Analytica 5.0

CAPicture holds an in-memory image. A CAPicture is obtained when a computed result contains images. In these cases, the image acts as an atom, contained in one cell of an array, for example, and when you access that cell using CATable::GetDataByElements, CATable::GetDataByLabels, CATable::AtomicValue or CATable::GetSafeArray, the cells with images will be returned as CAPicture objects. When CARenderingStyle::PictureAsText is true, then CAPicture objects are not returned.

With a CAPicture, you can write the image to a file or to a stream.

Properties

{get,put} int Width

The width of the image, in pixels.

{get,put} int Height

The height of the graph image, in pixels.

Methods

bool ToFile( string filename, string mimeType )

Saves the in-memory image to a given file, in a given format.

bool ToStream( IStream stream, string mimeType )

Writes the in-memory image to the given stream, in the requested format.

See Also

CALicense <- CAPicture -> CAGraphPivot
Comments


You are not allowed to post comments.