Clear

IMathBlockCollection.Clear method

Removes all elements from the collection.

public void Clear()

Examples

Example:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
blockCollection.Add(new MathBlock(new MathematicalText("block1")));
blockCollection.Add(new MathBlock(new MathematicalText("block2")));
blockCollection.Clear();

See Also