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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of characters in the collection. |
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 |
|---|---|
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. |