OMath OMath OMath Interface


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

public interface class OMath
public interface OMath
Public Interface 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 Microsoft.Office.Interop.Word.OMaths.Buildup method to convert the equation to professional format.


AlignPoint AlignPoint AlignPoint

Returns or sets an Integer that represents the character position of the alignment point in the equation. Read/write.

Application Application Application

Returns an _Application object that represents the Microsoft Word application.

ArgIndex ArgIndex ArgIndex

Returns an Integer that represents the argument index of this component relative to the containing math object. Read-only.

ArgSize ArgSize ArgSize

Returns or sets an Integer that represents the script size of an argument, for example, text, script, or script-script. Read/write.

Breaks Breaks Breaks

Returns an OMathBreaks collection that represents the line breaks in an equation. Read-only.

Creator Creator Creator

Returns a 32-bit Integer that indicates the application in which the add-in was created. Read-only.

Functions Functions Functions

Returns an OMathFunctions collection that represents the functions contained within an equation. Read-only.

Justification Justification Justification

Returns or sets a WdOMathJc that represents the justification for an equation. Read/write.

NestingLevel NestingLevel NestingLevel

Returns an Integer that represents the nesting level for an OMath object. Read-only.

Parent Parent Parent

Returns the parent object of the specified OMath object.

ParentArg ParentArg ParentArg

Returns an OMath object that represents the parent, or containing, argument. Read-only.

ParentCol ParentCol ParentCol

Returns a OMathMatCol object that represents the parent column in a matrix. Read-only.

ParentFunction ParentFunction ParentFunction

Returns an OMathFunction object that represents the parent, or containing, function. Read-only.

ParentOMath ParentOMath ParentOMath

Returns a OMath object that represents the parent element. Read-only.

ParentRow ParentRow ParentRow

Returns a OMathMatRow object that represents the parent row in a matrix. Read-only.

Range Range Range

Returns a Range object that represents the portion of a document that is contained in the specified object. Read-only.

Type Type Type

Returns or sets a WdOMathType constant that represents whether an equation is displayed inline with the text around it or displayed on its own line. Read/write.


BuildUp() BuildUp() BuildUp()

Converts an equation to a professional format.

ConvertToLiteralText() ConvertToLiteralText() ConvertToLiteralText()

Converts an equation to literal text.

ConvertToMathText() ConvertToMathText() ConvertToMathText()

Converts an equation to math text.

ConvertToNormalText() ConvertToNormalText() ConvertToNormalText()

Converts an equation to normal text.

Linearize() Linearize() Linearize()

Converts an equation into a linear format.

Remove() Remove() Remove()

Removes an equation from the collection of equations in a document, range, or selection.

Applies to