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

# FontSourceCollection

## Overview

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

A collection of font sources used by FontRepository.

This class provides 8 methods for working with FontSourceCollection objects in .NET programs.
Available methods include: `Add`, `Clear`, `Contains`, `CopyTo`, `Delete`, `FontSourceCollection`, `GetEnumerator`, `Remove`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Count`, `IsSynchronized`, `SyncRoot`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Count` | `int` | Read | Gets the count. |
| `IsSynchronized` | `bool` | Read | Gets the is synchronized. |
| `SyncRoot` | `object` | Read | Gets the sync root. |

## Methods

| Signature | Description |
|-----------|-------------|
| `FontSourceCollection()` | Calls FontSourceCollection on this FontSourceCollection instance. |
| `Add(fontSource: FontSource)` | Calls Add on this FontSourceCollection instance. |
| `Contains(item: FontSource)` | Calls Contains on this FontSourceCollection instance. |
| `Delete(fontSource: FontSource)` | Calls Delete on this FontSourceCollection instance. |
| `Remove(item: FontSource)` | Calls Remove on this FontSourceCollection instance. |
| `CopyTo(array: FontSource[], index: int)` | Calls CopyTo on this FontSourceCollection instance. |
| `Clear()` | Calls Clear on this FontSourceCollection instance. |
| `GetEnumerator()` | Calls GetEnumerator on this FontSourceCollection instance. |

## See Also

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