CharInfoCollection

CharInfoCollection

Overview

CharInfoCollection is a class in Aspose.PDF FOSS for .NET. Inherits from: System.Collections.Generic.IEnumerable<CharInfo>.

The characters of a TextSegment: each one’s position and glyph rectangle, filled by the text fragment absorber for the segments it finds.

This class declares 7 methods for CharInfoCollection objects in .NET programs. Available methods include: Add, CharInfoCollection, Clear, Contains, CopyTo, GetEnumerator, Remove. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Count, IsReadOnly, IsSynchronized, SyncRoot.

Properties

NameTypeAccessDescription
CountintReadGets the number of characters in the collection.
IsReadOnlyboolReadGets the is read only.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.

Methods

SignatureDescription
CharInfoCollection()Creates an empty character collection.
Add(item: CharInfo)Adds a character to the end of the collection; throws when item is null.
Clear()Removes all characters from the collection.
Contains(item: CharInfo)Returns true when the collection contains the given character.
CopyTo(array: CharInfo[], index: int)Copies the characters into array, starting at the zero-based index.
Remove(item: CharInfo)Removes the given character; returns true when it was found.
GetEnumerator()Calls GetEnumerator on this CharInfoCollection instance.

See Also

 English