.NET/Link API Version 1.7 USE FRAMES

IKernelLink.EvaluateToImage Method (Expr, Int32, Int32)

Sends the code to evaluate as an Expr.

[Visual Basic]
Function EvaluateToImage( _
   ByVal e As Expr, _
   ByVal width As Integer, _
   ByVal height As Integer _
) As Image
[C#]
Image EvaluateToImage(
   Expr e,
   int width,
   int height
);

Parameters

e
The Expr to evaluate.
width
The desired image width, in pixels. Pass 0 for Automatic, or if the expression itself specifies the width.
height
The desired image height, in pixels. Pass 0 for Automatic, or if the expression itself specifies the height.

Return Value

The resulting Image, or null if e does not evaluate to a graphics expression or if a MathLinkException occurred.

See Also

IKernelLink Interface | Wolfram.NETLink Namespace | IKernelLink.EvaluateToImage Overload List | LastError