FontTransformation class
Leave feedback
On this page
Describes font transformation configuration including font attributes. Font transformations are applied after document loading and font substitution.
public class FontTransformation : ValueObject
| name | description |
|---|---|
| static Create(…) | Creates a font transformation with exact font matching (size and style must match). |
| static CreateByName(…) | Creates a font transformation by name only, matching any size and style. The replacement font will preserve the original font’s size and style. |
| static CreateFlexible(…) | Creates a font transformation with flexible matching options. |
| MatchAnySize { get; } | When true, matches any font size for the original font name. When false, matches exact font size specified in OriginalFont. |
| MatchAnyStyle { get; } | When true, matches any font style (bold, italic, underline) for the original font. When false, matches exact font style specified in OriginalFont. |
| OriginalFont { get; } | The original font specification to match and replace. |
| ReplacementFont { get; } | The replacement font specification. |
- namespace GroupDocs.Conversion.Contracts
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.