Partager via


OMathFunctions.Add Method (Word)

Inserts a new structure, such as a fraction, into an equation at the specified position and returns an OMathFunction object that represents the structure.

Version Information

Version Added: Word 2007

Syntax

expression .Add(Range, Type, NumArgs, NumCols)

expression An expression that returns a OMathFunctions object.

Parameters

Name

Required/Optional

Data Type

Description

Range

Required

Range

The place at which to insrt an equation.

Type

Required

WdOMathFunctionType

The type of equation to insert.

NumArgs

Optional

Variant

The number of arguments in the equation.

NumCols

Optional

Variant

The number of columns in the equation.

Return Value

OMathFunction

See Also

Concepts

OMathFunctions Object Members

OMathFunctions Collection