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。