IKernelLink.EvaluateToImage Method (String, Int32, Int32)
Sends the code to evaluate as a string.
[Visual Basic]
Function EvaluateToImage( _
ByVal
s As
String, _
ByVal
width As
Integer, _
ByVal
height As
Integer _
) As
Image
Parameters
-
s
- The string 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 s does not evaluate to a graphics expression or if a MathLinkException occurred.
See Also
IKernelLink Interface | Wolfram.NETLink Namespace | IKernelLink.EvaluateToImage Overload List | LastError