TextElement.SetFontStretch(DependencyObject, FontStretch) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指定相依物件附加屬性的值 FontStretch 。
public:
static void SetFontStretch(System::Windows::DependencyObject ^ element, System::Windows::FontStretch value);
public static void SetFontStretch(System.Windows.DependencyObject element, System.Windows.FontStretch value);
static member SetFontStretch : System.Windows.DependencyObject * System.Windows.FontStretch -> unit
Public Shared Sub SetFontStretch (element As DependencyObject, value As FontStretch)
參數
- element
- DependencyObject
是用來設定屬性值 FontStretch 的相依物件。
- value
- FontStretch
設定屬性的新值。
例外狀況
d 是 null。