1. Home
  2. /
  3. GroupDocs.Conversion.LowCode
  4. /
  5. GroupDocs.Conversion.Contracts
  6. /
  7. FontTransformation

FontTransformation class

Describes font transformation configuration including font attributes. Font transformations are applied after document loading and font substitution.

public class FontTransformation : ValueObject

Public Members

namedescription
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.

See Also