語言

Typography.SetKerning(DependencyObject, Boolean) 方法

定義

設定指定相依物件附加屬性的值 Kerning 。

public:
 static void SetKerning(System::Windows::DependencyObject ^ element, bool value);
public static void SetKerning(System.Windows.DependencyObject element, bool value);
static member SetKerning : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetKerning (element As DependencyObject, value As Boolean)

參數

element
DependencyObject

是用來設定屬性值 Kerning 的相依物件。

value
Boolean

設定屬性的新值。

例外狀況

當 是 element時 。null

適用於

另請參閱