ISectionCollection
概述
ISectionCollection 是 Aspose.Slides FOSS for .NET 的界面。. 继承: IEnumerable<ISection>.
代表一系列部分在演示中。.
此界面提供7种方法,以便在 .NET 程序中使用 ISectionCollection 对象。. 可用的方法包括: AddSection, AppendEmptySection, Clear, IndexOf, RemoveSection, RemoveSectionWithSlides, ReorderSectionWithSlides. 所有公共成员都可以在安装 Aspose.Slides FOSS for .NET 包后访问任何 .net 应用程序。. 属性: Count.
属性
| 名称 | 类型 | Access | 描述 |
|---|---|---|---|
Count | int | 阅读 | 获取集合中节的数量。. |
方法
| Signature | 描述 |
|---|---|
AddSection(name: string, startedFromSlide: ISlide) | 添加一个新的部分从指定的幻灯片开始。. |
AppendEmptySection(name: string, startedFromIndex: int) | 将一个空白的部分添加到收藏结束时,并指定名称。. |
IndexOf(section: ISection) | 返回指定的部分的索引,或者 -1 如果没有找到。. |
RemoveSection(section: ISection) | 将所指定的部分从收藏中删除。. |
RemoveSectionWithSlides(section: ISection) | 将所指定的部分和其所有幻灯片从收藏中删除。. |
ReorderSectionWithSlides(section: ISection, index: int) | 将部分和其滑板移动到指定的位置。. |
Clear() | 将所有部分从收藏中删除。. |