A PictureBox subclass intended for displaying images of Mathematica graphics and typeset expressions.
For a list of all members of this type, see MathPictureBox Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.PictureBox
Wolfram.NETLink.UI.MathPictureBox
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This class can be used from Mathematica or .NET code. Use it like any other PictureBox, and simply set the MathCommand property to have the resulting image displayed in the box.
To have the MathPictureBox display the result of a computation, set the MathCommand property to a string of Mathematica code (for example, "Plot[x, {x,0,1}]"). Alternatively, you can directly assign an Image to display using the inherited Image property. In that case, no computation is done in Mathematica to generate the image. You would choose that technique if you were drawing into an offscreen image from Mathematica code and then placing that Image into the MathPictureBox.
Namespace: Wolfram.NETLink.UI
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll)
MathPictureBox Members | Wolfram.NETLink.UI Namespace