TextFragmentCollection

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 6 methods for working with TextFragmentCollection 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 fragments.
IsReadOnlyboolReadGets the is read only.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.

Methods

SignatureDescription
Add(fragment: TextFragment)Calls Add on this TextFragmentCollection instance.
Contains(item: TextFragment)Calls Contains on this TextFragmentCollection instance.
CopyTo(array: TextFragment[], index: int)Calls CopyTo on this TextFragmentCollection instance.
Remove(item: TextFragment)Calls Remove on this TextFragmentCollection instance.
Clear()Clear all fragments from the collection.
GetEnumerator()Calls GetEnumerator on this TextFragmentCollection instance.

See Also