Clear

IMathElementCollection.Clear method

Removes all elements from the collection.

public void Clear()

Examples

Example:

[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
collection.Clear();

See Also