FontStretch.Compare(FontStretch, FontStretch) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個物件實例 FontStretch 。
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
參數
- left
- FontStretch
第一個 FontStretch 比較的對象。
- right
- FontStretch
第二個 FontStretch 比較物件。
傳回
一個 Int32 代表兩個實例 FontStretch間關係的值。
備註
當返回值小於零時, left 小於 right。 當此值為零時,表示兩個運算元相等。 當 值大於零時,表示 left 大於 right。