Clear

IMathElementCollection.Clear 方法

移除集合中的所有元素。

public void Clear()

示例

示例:

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

另请参阅