ISectionCollection
ภาพรวม
ISectionCollection เป็นอินเตอร์เฟสใน Aspose.Slides FOSS สําหรับ .NET. ทายาทจาก: IEnumerable<ISection>.
แสดงให้เห็นถึงการรวมส่วนต่างๆ ในภาพนําเสนอ.
ช่องทางนี้ให้ 7 วิธีในการทํางานกับวัตถุ ISectionCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: AddSection, AppendEmptySection, Clear, IndexOf, RemoveSection, RemoveSectionWithSlides, ReorderSectionWithSlides. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for .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() | ลบส่วนทั้งหมดจากคอลเลกชั่น. |