FontStretch.Compare(FontStretch, FontStretch) Method

Definition

Compares two instances of FontStretch objects.

public static int Compare (System.Windows.FontStretch left, System.Windows.FontStretch right);

Parameters

left
FontStretch

The first FontStretch object to compare.

right
FontStretch

The second FontStretch object to compare.

Returns

An Int32 value that represents the relationship between the two instances of FontStretch.

Remarks

When the return value is less than zero, left is less than right. When this value is zero, it indicates that both operands are equal. When the value is greater than zero, it indicates that left is greater than right.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9