[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathElementCollection

Class OMathElementCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of OMathElement instances.

public class OMathElementCollection : ContentObjectCollection<OMathElement>, IContentList<OMathElement>, IReadOnlyList<OMathElement>, IReadOnlyCollection<OMathElement>, IEnumerable<OMathElement>, IEnumerable
Inheritance
object
OMathElementCollection
Implements
System.Collections.Generic.IReadOnlyList<T><OMathElement>
System.Collections.Generic.IReadOnlyCollection<T><OMathElement>
System.Collections.Generic.IEnumerable<T><OMathElement>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

Add()

Adds a new OMathElement to the collection at the End location. Only child elements of OMathDelimiter and OMathEquationArray structures can be added to the collection.

public OMathElement Add()

Returns

OMathElement

The added OMathElement.

Add(OMathBuiltInEquation)

Adds a new OMathElement to the collection at the End location. Only child elements of OMathDelimiter and OMathEquationArray structures can be added to the collection.

public OMathElement Add(OMathBuiltInEquation equation)

Parameters

equation OMathBuiltInEquation

The built-in equation to fill the OMathElement.

Returns

OMathElement

The added OMathElement.

Add(string)

Adds a new OMathElement to the collection at the End location. Only child elements of OMathDelimiter and OMathEquationArray structures can be added to the collection.

public OMathElement Add(string text)

Parameters

text string

The element text.

Returns

OMathElement

The added OMathElement.

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.

public OMathElement Insert(InsertLocation location)

Parameters

location InsertLocation

The target InsertLocation for the insertion.

Returns

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.

public OMathElement Insert(OMathBuiltInEquation equation, InsertLocation location)

Parameters

equation OMathBuiltInEquation

The built-in equation to fill the OMathElement.

location InsertLocation

The target InsertLocation for the insertion.

Returns

OMathElement

The inserted OMathElement instance.

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.

public OMathElement Insert(string text, InsertLocation location)

Parameters

text string

The element text.

location InsertLocation

The target InsertLocation for the insertion.

Returns

OMathElement

The inserted OMathElement.