Font.Equals

Font.Equals method

Indicates whether the specified object is a Font and has the same FontFamily, GdiVerticalFont, GdiCharSet, Style, Size, and Unit property values as this Font.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe object to test.

Return Value

true if the obj parameter is a Font and has the same FontFamily, GdiVerticalFont, GdiCharSet, Style, Size, and Unit property values as this Font; otherwise, false.

See Also