RemoveAt
MathBlock.RemoveAt 方法
移除集合中指定索引的元素。
public void RemoveAt(int index)
参数 | 类型 | 描述 |
---|---|---|
index | Int32 | 要移除的元素的零基索引。 |
示例
示例:
[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
mathBlock.Add(plusElement);
mathBlock.Insert(0, new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
mathBlock.RemoveAt(2);
另请参阅
- class MathBlock
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides