---
title: "Delegate Document.FontSubstitutionHandler"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/document.fontsubstitutionhandler/"
product: "Aspose.PDF for .NET API Reference"
description: "Represents the method that will handle FontSubstitution event"
---

## Document.FontSubstitutionHandler delegate

Represents the method that will handle FontSubstitution event.

```csharp
public delegate void FontSubstitutionHandler(Font oldFont, Font newFont);
```

| Parameter | Type | Description |
| --- | --- | --- |
| oldFont | Font | original font |
| newFont | Font | new font |

### See Also

* class [Font](../../aspose.pdf.text/font/)
* class [Document](../document/)
* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


