FontTransformation class
FontTransformation class
Describes font transformation configuration including font attributes.
Font transformations are applied after document loading and font substitution.
The FontTransformation type exposes the following members:
Methods
| 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. |
| create_flexible | Creates a font transformation with flexible matching options. |
Properties
| Property | Description |
|---|---|
| match_any_size | The property determines whether any font size for the original font name is matched (true) or the exact font size specified in OriginalFont is matched (false). |
| match_any_style | The property indicates whether any font style (bold, italic, underline) for the original font is matched when true, or the exact font style specified in OriginalFont when false. |
| original_font | The original font specification to match and replace. |
| replacement_font | The replacement font specification. |