ParagraphCollection
ภาพรวม
ParagraphCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ .NET. ทายาทจาก: ISlideComponent, IParagraphCollection, IEnumerable<IParagraph>.
เป็นการแสดงรวมของข้อความ.
หมวดนี้ให้ 9 วิธีในการทํางานกับวัตถุ ParagraphCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: Add, Clear, Contains, GetEnumerator, GetParagraphs, IndexOf, Insert, Remove, RemoveAt. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for .Net. คุณสมบัติ: AsIEnumerable, AsIPresentationComponent, AsISlideComponent, Count, IsReadOnly, Presentation,และอีก 1 ใบ.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
Slide | IBaseSlide? | อ่าน | รับสไลด์. |
Presentation | IPresentation? | อ่าน | รับการนำเสนอ. |
AsIPresentationComponent | IPresentationComponent | อ่าน | รับส่วนประกอบการนำเสนอ as i. |
AsISlideComponent | ISlideComponent | อ่าน | รับคอมโพเนนต์ as i slide. |
AsIEnumerable | IEnumerable<IParagraph> | อ่าน | รับค่าเป็น IEnumerable. |
Count | int | อ่าน | รับจำนวน. |
IsReadOnly | bool | อ่าน | รับค่า is read only. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
GetParagraphs() | ได้ข้อความจากตัวส่วนของบท XML ที่อยู่เบื้องหลัง. |
Add(value: IParagraph) | การใส่ IParagraph ที่ระบุเข้าในคอลเลกชั่น |
Insert(index: int, value: IParagraph) | เรียก Insert ((index, value) ในตัวอย่าง ParagraphCollection นี้. |
Clear() | เรียก Clear ในตัวอย่าง ParagraphCollection นี้. |
RemoveAt(index: int) | ลบข้อที่อยู่ในอัตราการแสดงตัวที่ระบุ |
Remove(item: IParagraph) | ลบครั้งแรกของ IParagraph ที่ได้รับการกําหนด |
Contains(item: IParagraph) | ตรวจสอบว่าการรวบรวมมี IParagraph ที่ระบุหรือไม่ |
IndexOf(item: IParagraph) | การคืนอินเด็กซ์ที่ใช้ศูนย์ของ IParagraph หรือ -1 |
GetEnumerator() | การคืนตัวนับจํานวนสําหรับการคัดสรรข้อความ |