SectionCollection
概述
SectionCollection 是 Aspose.Slides FOSS for .NET 的类。. 继承: ISectionCollection.
代表一系列部分在演示中。.
此类提供8种方法,用于在 .NET 程序中使用 SectionCollection 对象。. 可用的方法包括: AddSection, AppendEmptySection, Clear, GetEnumerator, 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) | 返回集中的指定部分的零基指数 |
RemoveSection(section: ISection) | 删除该部分,而不删除了其幻灯片 |
RemoveSectionWithSlides(section: ISection) | 删除部分,并删除了所有属于它的幻灯片。 |
ReorderSectionWithSlides(section: ISection, index: int) | 将指定部分和其幻灯片转移到一个新的指数 |
Clear() | 点击此 SectionCollection 例子。. |
GetEnumerator() | 返回一个列表以便在部分上进行 iterating |