---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/CharInfoCollection
---

# CharInfoCollection

## Overview

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

Collection of CharInfo entries — supports the public surface used by TextSegment.Characters but stays empty by default.

This class provides 6 methods for working with CharInfoCollection 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

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Count` | `int` | Read | Gets the count. |
| `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 |
|-----------|-------------|
| `Add(item: CharInfo)` | Calls Add on this CharInfoCollection instance. |
| `Clear()` | Calls Clear on this CharInfoCollection instance. |
| `Contains(item: CharInfo)` | Calls Contains on this CharInfoCollection instance. |
| `CopyTo(array: CharInfo[], index: int)` | Calls CopyTo on this CharInfoCollection instance. |
| `Remove(item: CharInfo)` | Calls Remove on this CharInfoCollection instance. |
| `GetEnumerator()` | Calls GetEnumerator on this CharInfoCollection instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)