Method IsClose
IsClose(string, float, FontStyle)
Determines whether the current font matches the specified name, style, and size within a close tolerance.
public virtual bool IsClose(string name, float sizeInPoints, FontStyle style)
Parameters
namestringThe name of the font to compare.
sizeInPointsfloatThe size of the font, in points, to compare.
styleFontStyleThe style of the font to compare.