[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathElementCollection.Insert

Insert Method

Insert(InsertLocation)

Inserts a new OMathElement into the collection at the specified location. Only child elements of OMathDelimiter and OMathEquationArray structures can be inserted to the collection.

Declaration
public OMathElement Insert(InsertLocation location)
Public Function Insert(location As InsertLocation) As OMathElement
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
OMathElement

The inserted OMathElement.

Insert(string, InsertLocation)

Inserts a new OMathElement into the collection at the specified location. Only child elements of OMathDelimiter and OMathEquationArray structures can be inserted to the collection.

Declaration
public OMathElement Insert(string text, InsertLocation location)
Public Function Insert(text As String, location As InsertLocation) As OMathElement
Parameters
Type Name Description
string text

The element text.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
OMathElement

The inserted OMathElement.

Insert(OMathBuiltInEquation, InsertLocation)

Inserts a new OMathElement into the collection at the specified location. Only child elements of OMathDelimiter and OMathEquationArray structures can be inserted to the collection.

Declaration
public OMathElement Insert(OMathBuiltInEquation equation, InsertLocation location)
Public Function Insert(equation As OMathBuiltInEquation, location As InsertLocation) As OMathElement
Parameters
Type Name Description
OMathBuiltInEquation equation

The built-in equation to fill the OMathElement.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
OMathElement

The inserted OMathElement instance.