# OMath Interface

## Definition

`public interface class OMath`

```
[System.Runtime.InteropServices.Guid("E4442A83-F623-459C-8E95-8BFB44DCF23A")]
public interface OMath
```

`type OMath = interface`

`Public Interface OMath`

- Attributes

## Remarks

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.

## Properties

AlignPoint |
Returns or sets an |

Application |
Returns an _Application object that represents the Microsoft Word application. |

ArgIndex |
Returns an |

ArgSize |
Returns or sets an |

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

Creator |
Returns a 32-bit |

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

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

NestingLevel |
Returns an |

Parent |
Returns the parent object of the specified OMath object. |

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

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

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

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

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

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

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

## Methods

BuildUp() |
Converts an equation to a professional format. |

ConvertToLiteralText() |
Converts an equation to literal text. |

ConvertToMathText() |
Converts an equation to math text. |

ConvertToNormalText() |
Converts an equation to normal text. |

Linearize() |
Converts an equation into a linear format. |

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