Share via


OMaths.Add Method

Creates an equation, from the text equation contained within the specified range, and returns a Range object that contains the new equation.

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

Syntax

'Declaration
Function Add ( _
    Range As Range _
) As Range
'Usage
Dim instance As OMaths
Dim Range As Range
Dim returnValue As Range

returnValue = instance.Add(Range)
Range Add(
    Range Range
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.Range
Range

Examples

The following example inserts an equation into the document at the cursor or replacing the selected text.

See Also

Reference

OMaths Interface

OMaths Members

Microsoft.Office.Interop.Word Namespace