FontFamily.IsStyleAvailable

FontFamily.IsStyleAvailable method

Indicates whether the specified FontStyle enumeration is available.

public bool IsStyleAvailable(FontStyle style)
ParameterTypeDescription
styleFontStyleThe FontStyle to test.

Return Value

true if the specified FontStyle is available; otherwise, false.

See Also