ExternalFontCache.FetchDrFont

FetchDrFont(string, float, FontStyle)

Fetches DrFont by font family name, size and style.

public static DrFont FetchDrFont(string familyName, float sizePoints, FontStyle style)
ParameterTypeDescription
familyNameStringFont family name.
sizePointsSingleFont size in points (one point is 1/72 of inch).
styleFontStyleFont style.

Return Value

Returns DrFont

See Also


FetchDrFont(string, float, FontStyle, string)

Fetches DrFont by font family name, size, style and alternative font family name.

public DrFont FetchDrFont(string familyName, float sizePoints, FontStyle style, 
    string altFamilyName)
ParameterTypeDescription
familyNameStringFont family name.
sizePointsSingleFont size in points (one point is 1/72 of inch).
styleFontStyleFont style.
altFamilyNameStringAlternative font family name.

Return Value

Returns DrFont

See Also