Clear

MathBlock.Clear method

Removes all elements from the collection.

public void Clear()

Examples

Example:

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

See Also