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
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