TextFragmentCollection

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.

מאפיינים

שםסוגגישהתיאור
CountintReadמספר הקטעים.
IsReadOnlyboolReadמקבל את ערך הקריאה בלבד.
IsSynchronizedboolReadמקבל את ערך מסונכרן.
SyncRootobjectReadמקבל את שורש הסינכרון.

שיטות

חתימהתיאור
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.

ראה גם

 עברית