FontStretch.Compare(FontStretch, FontStretch) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor