ExternalFontCache.CreateFontByFamilyName

ExternalFontCache.CreateFontByFamilyName method

Creates Font by font family name, style and size.

public static Font CreateFontByFamilyName(string familyName, float size, FontStyle style)
ParameterTypeDescription
familyNameStringFont family name.
sizeSingleFont size in points (one point is 1/72 of inch).
styleFontStyleFont style.

Return Value

Returns Font object.

See Also