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
otherFont
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
- bool
trueif 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)