OMath Members (Word)

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

Methods

Name

Description

BuildUp

Converts an equation to 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 to linear format.

Remove

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

Properties

Name

Description

AlignPoint

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

Application

Returns an Application object that represents the Microsoft Word application.

ArgIndex

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

ArgSize

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

Breaks

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

Creator

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

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 a Long that represents the nesting level for an OMath object. Read-only.

Parent

Returns an Object that represents the parent object of the specified OMath object.

ParentArg

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

ParentCol

Returns an 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 an OMath object that represents the parent element. Read-only.

ParentRow

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