## FontSubstitution class


Represents a class for a font substitution strategy based on font name.

```cpp
class FontSubstitution : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [FontSubstitution](./fontsubstitution/)(System::String, System::String, bool) | Initializes a new instance of [SimpleFontSubstitution](../) class. |
| [get_OriginalFontName](./get_originalfontname/)() const | Gets original font name that should be substituted with [SubstitutionFontName](../) |
| [get_ReplaceAlways](./get_replacealways/)() const | Specifies whether fonts should always be replaced. If it set to false, fonts are substituted only when font with name specified by [OriginalFontName](../) parameter is not found on the destination PC. |
| [get_SubstitutionFontName](./get_substitutionfontname/)() const | Gets font name that should substitute the [OriginalFontName](../) |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pub](../)
* Library [Aspose.PUB for C++](../../)
