TextSegmentCollection

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

NameTypeAccessDescription
CountintReadNumber of segments.
IsReadOnlyboolReadGets the is read only.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.

Methods

SignatureDescription
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.

See Also