IParagraphCollection
IParagraphCollection interface
表示段落的集合。
public interface IParagraphCollection : IEnumerable<IParagraph>, ISlideComponent
特性
姓名 | 描述 |
---|---|
AsIEnumerable { get; } | 返回 IEnumerable 接口。 只读IEnumerable。 |
AsISlideComponent { get; } | 允许获取基础 ISlideComponent 接口。 只读ISlideComponent 。 |
Count { get; } | 获取集合中实际包含的元素数量。 只读Int32。 |
Item { get; } | 获取指定索引处的元素。 |
方法
姓名 | 描述 |
---|---|
Add(IParagraph) | 将段落添加到集合末尾。 |
Add(IParagraphCollection) | 将 ParagraphCollection 的内容添加到集合的末尾。 |
AddFromHtml(string) | 将指定 html 字符串中的文本添加到集合中。 |
AddFromHtml(string, IExternalResourceResolver, string) | 将指定 html 字符串中的文本添加到集合中。 |
Clear() | 从集合中删除所有元素。 |
ExportToHtml(int, int, ITextToHtmlConversionOptions) | 将指定段落转换为 HTML 并将其作为字符串对象返回。 |
Insert(int, IParagraph) | 将段落插入到集合中指定索引处。 |
Insert(int, IParagraphCollection) | 将 ParagraphCollection 的内容插入到集合中指定索引处。 |
Remove(IParagraph) | 删除特定段落的第一次出现。 |
RemoveAt(int) | 移除集合指定索引处的元素。 |
也可以看看
- interface IParagraph
- interface ISlideComponent
- 命名空间 Aspose.Slides
- 部件 Aspose.Slides