---
title: "Class FontNotFoundException"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/fontnotfoundexception/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.FontNotFoundException class. The exception that is thrown when a font is not found"
---

## FontNotFoundException class

The exception that is thrown when a font is not found.

```csharp
public sealed class FontNotFoundException : PdfException
```

## Constructors

| Name | Description |
| --- | --- |
| [FontNotFoundException](fontnotfoundexception/#constructor)(Exception) | Initializes a new instance of the `FontNotFoundException` class with a reference to the inner exception that is the cause of this exception. |
| [FontNotFoundException](fontnotfoundexception/#constructor_1)(string) | Initializes a new instance of the `FontNotFoundException` class. |
| [FontNotFoundException](fontnotfoundexception/#constructor_2)(string, Exception) | Initializes a new instance of the `FontNotFoundException` class with a specified error message and a reference to the inner exception that is the cause of this exception. |

### See Also

* class [PdfException](../pdfexception/)
* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


