TextSegmentCollection

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

NameTypeAccessDescription
CountintReadจํานวนส่วน.
IsReadOnlyboolReadได้รับการอ่านเท่านั้น.
IsSynchronizedboolReadได้รับการเข้าร่วมเวลา.
SyncRootobjectReadได้รูทสินคอร์ด.

Methods

SignatureDescription
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.

See Also

 ภาษาไทย