IParagraphCollection

IParagraphCollection

概述

IParagraphCollection 是 Aspose.Slides FOSS for .NET 的界面。.

代表一系列段落。.

此界面提供7种方法,以便在 .NET 程序中使用 IParagraphCollection 对象。. 可用的方法包括: Add, Clear, Contains, IndexOf, Insert, Remove, RemoveAt. 所有公共成员都可以在安装 Aspose.Slides FOSS for .NET 包后访问任何 .net 应用程序。. 属性: AsIEnumerable, AsISlideComponent, Count, IsReadOnly.

属性

名称类型Access描述
Countint阅读它获得了实际上在收藏中包含的元素数量。.
AsISlideComponentISlideComponent阅读允许您获得基 ISlideComponent 界面。.
AsIEnumerableIEnumerable<IParagraph>阅读回归 IEnumerable{IParagraph}界面。.
IsReadOnlybool阅读获取一个值,指示集合是否为只读。.

方法

Signature描述
Add(value: IParagraph)将一段附到收藏的结尾。.
Insert(index: int, value: IParagraph)将一个段落插入指定的索引中。.
Clear()将所有段落从收藏中删除。.
RemoveAt(index: int)将指定的指数中删除段落。.
Remove(item: IParagraph)将特定段落的第一次出现从收藏中删除。.
Contains(item: IParagraph)决定收藏是否包含具体段落。.
IndexOf(item: IParagraph)确定集中的特定段落的指数。.

看也

 中文