Count
IMathBlockCollection.Count property
获取集合中实际包含的元素数量。 只读Int32。
public int Count { get; }
例子
示例:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
blockCollection.Add(new MathBlock(new MathematicalText("block1")));
blockCollection.Add(new MathBlock(new MathematicalText("block2")));
int blocksCount = blockCollection.Count;
也可以看看
- interface IMathBlockCollection
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides