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

# FileFontSource

## Overview

`FileFontSource` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `FontSource`.

A font source backed by a single font file on disk.

This class provides 3 methods for working with FileFontSource objects in .NET programs.
Available methods include: `Equals`, `FileFontSource`, `GetHashCode`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `FilePath`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `FilePath` | `string` | Read/Write | Gets or sets the file path. |

## Methods

| Signature | Description |
|-----------|-------------|
| `FileFontSource(filePath: string)` | Calls FileFontSource on this FileFontSource instance. |
| `Equals(obj: object?)` | Calls Equals on this FileFontSource instance. |
| `GetHashCode()` | Calls GetHashCode on this FileFontSource instance. |

## See Also

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