OMath interface

Office 2013 and later

Represents an equation. OMath objects are members of the OMaths collection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("E4442A83-F623-459C-8E95-8BFB44DCF23A")> _
Public Interface OMath
Dim instance As OMath

Use the Add(Range) method of the OMaths collection to create an equation and add it to a document, selection, or range. The following example creates an equation and uses the Buildup() method to convert the equation to professional format.