Modifica

Condividi tramite


OMaths.Add(Range) Method

Definition

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

public:
 Microsoft::Office::Interop::Word::Range ^ Add(Microsoft::Office::Interop::Word::Range ^ Range);
public Microsoft.Office.Interop.Word.Range Add (Microsoft.Office.Interop.Word.Range Range);
abstract member Add : Microsoft.Office.Interop.Word.Range -> Microsoft.Office.Interop.Word.Range
Public Function Add (Range As Range) As Range

Parameters

Range
Range

Specifies a range that contains a text equation.

Returns

Range

Examples

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

Applies to