CreateFlexible

FontTransformation.CreateFlexible method

Creates a font transformation with flexible matching options.

public static FontTransformation CreateFlexible(Font originalFont, Font replacementFont, 
    bool matchAnySize, bool matchAnyStyle)
Parameter Type Description
originalFont Font Font specification to match.
replacementFont Font Font specification to transform to.
matchAnySize Boolean True to match any size, false to match exact size.
matchAnyStyle Boolean True to match any style, false to match exact style.

See Also