TextFragmentCollection
Przegląd
TextFragmentCollection jest klasą w Aspose.PDF FOSS dla .NET. Dziedziczy po: System.Collections.Generic.IEnumerable<TextFragment>.
Kolekcja TextFragment obiektów indeksowana od 1, odpowiadająca publicznemu API.
Ta klasa udostępnia 7 metod do pracy z obiektami TextFragmentCollection w programach .NET. Dostępne metody to: Add, AddRange, Clear, Contains, CopyTo, GetEnumerator, Remove. Wszystkie publiczne elementy są dostępne dla każdej aplikacji .NET po zainstalowaniu pakietu Aspose.PDF FOSS dla .NET. Właściwości: Count, IsReadOnly, IsSynchronized, SyncRoot.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
Count | int | Odczyt | Liczba fragmentów. |
IsReadOnly | bool | Odczyt | Pobiera, czy jest tylko do odczytu. |
IsSynchronized | bool | Odczyt | Pobiera wartość IsSynchronized. |
SyncRoot | object | Odczyt | Pobiera korzeń synchronizacji. |
Metody
| Sygnatura | Opis |
|---|---|
Add(fragment: TextFragment) | Wywołuje Add(fragment) na tej instancji TextFragmentCollection. |
AddRange(fragments: System.Collections.Generic.IEnumerable<TextFragment>) | Dołącz każdy fragment z fragments do tej kolekcji. |
Contains(item: TextFragment) | Wywołuje Contains(item) na tej instancji TextFragmentCollection. |
CopyTo(array: TextFragment[], index: int) | Wywołuje CopyTo(array, index) na tej instancji TextFragmentCollection. |
Remove(item: TextFragment) | Wywołuje Remove(item) na tej instancji TextFragmentCollection. |
Clear() | Wyczyść wszystkie fragmenty z kolekcji. |
GetEnumerator() | Wywołuje GetEnumerator na tej instancji TextFragmentCollection. |