IParagraphCollection
IParagraphCollection interface
表示段落的集合。
public interface IParagraphCollection : IEnumerable<IParagraph>, ISlideComponent
特性
方法
姓名 |
描述 |
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) |
移除集合指定索引处的元素。 |
也可以看看