---
title: "Class IncorrectFontUsageException"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/incorrectfontusageexception/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.IncorrectFontUsageException class. The exception that is thrown when font usage is incorrect"
---

## IncorrectFontUsageException class

The exception that is thrown when font usage is incorrect.

```csharp
public sealed class IncorrectFontUsageException : InvalidFileFormatException
```

## Constructors

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

### See Also

* class [InvalidFileFormatException](../invalidfileformatexception/)
* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


