TextFragmentCollection
סקירה
TextFragmentCollection היא מחלקה ב‑Aspose.PDF FOSS עבור .NET.
יורשת מ: System.Collections.Generic.IEnumerable<TextFragment>.
אוסף של אובייקטי TextFragment עם אינדקס שמתחיל ב‑1, תואם ל‑API הציבורי.
המחלקה הזו מספקת 6 שיטות לעבודה עם אובייקטים מסוג TextFragmentCollection בתוכניות .NET.
השיטות הזמינות כוללות: Add, Clear, Contains, CopyTo, GetEnumerator, Remove.
כל החברים הציבוריים נגישים לכל יישום .NET לאחר התקנת חבילת Aspose.PDF FOSS for .NET.
מאפיינים: Count, IsReadOnly, IsSynchronized, SyncRoot.
מאפיינים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
Count | int | Read | מספר הקטעים. |
IsReadOnly | bool | Read | מקבל את ערך הקריאה בלבד. |
IsSynchronized | bool | Read | מקבל את ערך מסונכרן. |
SyncRoot | object | Read | מקבל את שורש הסינכרון. |
שיטות
| חתימה | תיאור |
|---|---|
Add(fragment: TextFragment) | קורא ל‑Add על מופע זה של TextFragmentCollection. |
Contains(item: TextFragment) | קורא ל‑Contains על מופע זה של TextFragmentCollection. |
CopyTo(array: TextFragment[], index: int) | קורא ל‑CopyTo על מופע זה של TextFragmentCollection. |
Remove(item: TextFragment) | קורא ל‑Remove על מופע זה של TextFragmentCollection. |
Clear() | מוחק את כל הקטעים מהאוסף. |
GetEnumerator() | קורא ל‑GetEnumerator על מופע זה של TextFragmentCollection. |