Επεξεργασία

Κοινή χρήση μέσω


FontStretch.Compare(FontStretch, FontStretch) Method

Definition

Compares two instances of FontStretch objects.

public:
 static int Compare(System::Windows::FontStretch left, System::Windows::FontStretch right);
public static int Compare (System.Windows.FontStretch left, System.Windows.FontStretch right);
static member Compare : System.Windows.FontStretch * System.Windows.FontStretch -> int
Public Shared Function Compare (left As FontStretch, right As FontStretch) As Integer

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