FontTransformation class
Leave feedback
On this page
Describes font transformation configuration including font attributes, applied after document loading and font substitution.
The FontTransformation type exposes the following members:
| Method | Description |
|---|---|
| create | Creates a font transformation with exact font matching (size and style must match). |
| create_by_name | Creates a font transformation by name only, matching any size and style, with the replacement font preserving the original font’s size and style. |
| create_flexible | Creates a font transformation with flexible matching options. |
| equals | Determines whether two object instances are equal. (inherited from ValueObject) |
| equals_object | (inherited from ValueObject) |
| equals_value_object | (inherited from ValueObject) |
| get_hash_code | Serves as the default hash function. (inherited from ValueObject) |
| Property | Description |
|---|---|
| match_any_size | The property indicates whether any font size for the original font name is matched (true) or only the exact font size specified in OriginalFont is matched (false). |
| match_any_style | The property determines whether any font style (bold, italic, underline) of the original font is matched (True) or the exact font style specified in OriginalFont is required (False). |
| original_font | The original font specification to match and replace. |
| replacement_font | The replacement font specification. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.