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

# UnsupportedFontTypeException

## Overview

`UnsupportedFontTypeException` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `PdfException`.

Thrown when a file cannot be opened as a font because its format is not a supported font program (e.g.

This class provides 6 methods for working with UnsupportedFontTypeException objects in .NET programs.
Available methods include: `GenerateCrashReport`, `PdfException`, `UnsupportedFontTypeException`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

## Methods

| Signature | Description |
|-----------|-------------|
| `UnsupportedFontTypeException()` | Calls UnsupportedFontTypeException on this UnsupportedFontTypeException instance. |
| `UnsupportedFontTypeException(message: string)` |  |
| `UnsupportedFontTypeException(message: string, innerException: Exception)` |  |
| `UnsupportedFontTypeException(innerException: Exception)` |  |
| `PdfException()` | Initializes a new instance of the PdfException class. |
| `GenerateCrashReport(options: CrashReportOptions)` | Write a crash report to disk per options. |

## See Also

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