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

# CustomFontSubstitutionBase

## Overview

`CustomFontSubstitutionBase` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `FontSubstitution`.

This class provides 1 method for working with CustomFontSubstitutionBase objects in .NET programs.
Available methods include: `TrySubstitute`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

## Methods

| Signature | Description |
|-----------|-------------|
| `TrySubstitute(originalFontSpecification: OriginalFontSpecification, substitutionFont: Font?)` | Calls TrySubstitute on this CustomFontSubstitutionBase instance. |

## See Also

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