TextFragmentCollection
Overview
TextFragmentCollection is a class in Aspose.PDF FOSS for .NET.
Inherits from: System.Collections.Generic.IEnumerable<TextFragment>.
A 1-indexed collection of TextFragment objects, matching the public API.
This class provides 7 methods for working with TextFragmentCollection objects in .NET programs.
Available methods include: Add, AddRange, Clear, Contains, CopyTo, GetEnumerator, Remove.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Count, IsReadOnly, IsSynchronized, SyncRoot.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Number of fragments. |
IsReadOnly | bool | Read | Gets the is read only. |
IsSynchronized | bool | Read | Gets the is synchronized. |
SyncRoot | object | Read | Gets the sync root. |
Methods
| Signature | Description |
|---|---|
Add(fragment: TextFragment) | Calls Add(fragment) on this TextFragmentCollection instance. |
AddRange(fragments: System.Collections.Generic.IEnumerable<TextFragment>) | Append every fragment from fragments to this collection. |
Contains(item: TextFragment) | Calls Contains(item) on this TextFragmentCollection instance. |
CopyTo(array: TextFragment[], index: int) | Calls CopyTo(array, index) on this TextFragmentCollection instance. |
Remove(item: TextFragment) | Calls Remove(item) on this TextFragmentCollection instance. |
Clear() | Clear all fragments from the collection. |
GetEnumerator() | Calls GetEnumerator on this TextFragmentCollection instance. |