FontTransformation
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 |
|---|---|
| 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. |
| Name | Description |
|---|---|
| static Create(Font, Font) | Creates a font transformation with exact font matching (size and style must match). |
| static CreateByName(string, string) | 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(Font, Font, bool, bool) | Creates a font transformation with flexible matching options. |
| override Equals(object) | Determines whether two object instances are equal. |
| virtual Equals(ValueObject) | Determines whether two object instances are equal. |
| override GetHashCode() | Serves as the default hash function. |
- class ValueObject
- namespace GroupDocs.Conversion.Contracts
- assembly GroupDocs.Conversion
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.