TextSegmentCollection
Overview
TextSegmentCollection is a class in Aspose.PDF FOSS for .NET.
Inherits from: System.Collections.Generic.IEnumerable<TextSegment>.
A 1-indexed collection of TextSegment objects belonging to a TextFragment.
This class provides 6 methods for working with TextSegmentCollection objects in .NET programs.
Available methods include: Add, 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 segments. |
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(segment: TextSegment) | Calls Add on this TextSegmentCollection instance. |
Contains(item: TextSegment) | Calls Contains on this TextSegmentCollection instance. |
CopyTo(array: TextSegment[], index: int) | Calls CopyTo on this TextSegmentCollection instance. |
Remove(item: TextSegment) | Calls Remove on this TextSegmentCollection instance. |
Clear() | Calls Clear on this TextSegmentCollection instance. |
GetEnumerator() | Calls GetEnumerator on this TextSegmentCollection instance. |