Bewerken

Delen via


OMathFunctions.Add(Range, WdOMathFunctionType, Object, Object) Method

Definition

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

public Microsoft.Office.Interop.Word.OMathFunction Add (Microsoft.Office.Interop.Word.Range Range, Microsoft.Office.Interop.Word.WdOMathFunctionType Type, ref object NumArgs, ref object NumCols);
abstract member Add : Microsoft.Office.Interop.Word.Range * Microsoft.Office.Interop.Word.WdOMathFunctionType * obj * obj -> Microsoft.Office.Interop.Word.OMathFunction
Public Function Add (Range As Range, Type As WdOMathFunctionType, Optional ByRef NumArgs As Object, Optional ByRef NumCols As Object) As OMathFunction

Parameters

Range
Range

Required Range The place at which to insrt an equation.

Type
WdOMathFunctionType

Required WdOMathFunctionTypeThe type of equation to insert.

NumArgs
Object

Optional Object The number of arguments in the equation.

NumCols
Object

Optional Object The number of columns in the equation.

Returns

OMathFunction

Applies to