Typeface.Equals(Object) Method

Definition

Gets a value that indicates whether the current typeface and the specified typeface have the same FontFamily, Style, Weight, Stretch, and fallback font values.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
Object

The Typeface to compare.

Returns

true if o is equal to the current Typeface object; otherwise, false. If o is not a Typeface object, false is returned.

Applies to