Typeface.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public override bool Equals(
	object o
)

Parameters

o
Type: System.Object

The Typeface to compare.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: