## FontSubstitution class

Represents a class for a font substitution strategy based on font name.

```csharp
public class FontSubstitution
```

## Constructors

| Name | Description |
| --- | --- |
| [FontSubstitution](fontsubstitution/)(string, string, bool) | Initializes a new instance of !:SimpleFontSubstitution class. |

## Properties

| Name | Description |
| --- | --- |
| [OriginalFontName](../../aspose.pub/fontsubstitution/originalfontname/) { get; } | Gets original font name that should be substituted with [`SubstitutionFontName`](./substitutionfontname/) |
| [ReplaceAlways](../../aspose.pub/fontsubstitution/replacealways/) { get; } | Specifies whether fonts should always be replaced. If it set to false, fonts are substituted only when font with name specified by [`OriginalFontName`](./originalfontname/) parameter is not found on the destination PC. |
| [SubstitutionFontName](../../aspose.pub/fontsubstitution/substitutionfontname/) { get; } | Gets font name that should substitute the [`OriginalFontName`](./originalfontname/) |

### See Also

* namespace [Aspose.Pub](../../aspose.pub/)
* assembly [Aspose.PUB](../../)


