Method Equals
Equals(Font?)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(Font? other)
Parameters
other
Font
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true
if the specified object is equal to the current object; otherwise,false
.
Equals(string, double, FontStyle)
Indicates whether the current objects properties are equal to the specified properties.
public virtual bool Equals(string name, double sizeInPoints, FontStyle style)