Typeface.Equals Method (Object)


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 Overrides Function Equals (
	o As Object
) As Boolean


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