TextSegmentCollection
Overview
TextSegmentCollection เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: System.Collections.Generic.IEnumerable<TextSegment>.
ชุดของ TextSegment ที่มีอิงเด็ก 1 ตัว ซึ่งเป็นของของที่อยู่ใน TextFragment.
หมวดนี้ให้ 6 วิธีในการทํางานกับวัตถุ TextSegmentCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: Add, Clear, Contains, CopyTo, GetEnumerator, Remove. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: Count, IsReadOnly, IsSynchronized, SyncRoot.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | จํานวนส่วน. |
IsReadOnly | bool | Read | ได้รับการอ่านเท่านั้น. |
IsSynchronized | bool | Read | ได้รับการเข้าร่วมเวลา. |
SyncRoot | object | Read | ได้รูทสินคอร์ด. |
Methods
| Signature | Description |
|---|---|
Add(segment: TextSegment) | เรียกเพิ่มในตัวอย่าง TextSegmentCollection นี้. |
Contains(item: TextSegment) | Calls Contents ในตัวอย่าง TextSegmentCollection นี้. |
CopyTo(array: TextSegment[], index: int) | เรียก CopyTo ในตัวอย่างนี้ TextSegmentCollection. |
Remove(item: TextSegment) | เรียก Remove ในตัวอย่าง TextSegmentCollection นี้. |
Clear() | เรียก Clear ในตัวอย่าง TextSegmentCollection นี้. |
GetEnumerator() | เรียก GetEnumerator ในตัวอย่างนี้ TextSegmentCollection. |