SectionCollection
SectionCollection class
表示一个节的集合。
public sealed class SectionCollection : DomObject<Presentation>, ISectionCollection
Properties
Name | Description |
---|---|
Count { get; } | 获取集合中实际包含的元素数量。只读 Int32。 |
IsSynchronized { get; } | 返回一个值,指示对集合的访问是否是同步的(线程安全)。只读 Boolean。 |
Item { get; } | 获取指定索引处的元素。只读 ISection 。 |
SyncRoot { get; } | 返回一个同步根。只读 Object。 |
Methods
Name | Description |
---|---|
AddEmptySection(string, int) | 在集合的指定位置添加一个空节。 |
AddSection(string, ISlide) | 从特定幻灯片开始添加幻灯片节。 |
AppendEmptySection(string) | 在集合的末尾添加一个空节。 |
Clear() | 从集合中移除所有节。 |
CopyTo(Array, int) | 将整个集合复制到指定数组中。 |
GetEnumerator() | 返回一个枚举数,用于迭代集合。 |
IndexOf(ISection) | 返回指定节在集合中的索引。 |
RemoveSection(ISection) | 移除节。包含在该节中的幻灯片将合并到前一个节中。 |
RemoveSectionWithSlides(ISection) | 移除节及其包含的幻灯片。 |
ReorderSectionWithSlides(ISection, int) | 将节及其幻灯片从集合中移动到指定位置。 |
See Also
- class DomObject<TParent>
- class Presentation
- interface ISectionCollection
- namespace Aspose.Slides
- assembly Aspose.Slides