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

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

Methods

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

See Also

 English