Share via


GlyphTypeface.Weight 属性

定义

获取由 GlyphTypeface 对象表示的字体的设计粗细。

public:
 property System::Windows::FontWeight Weight { System::Windows::FontWeight get(); };
public System.Windows.FontWeight Weight { get; }
public System.Windows.FontWeight Weight { [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] get; }
member this.Weight : System.Windows.FontWeight
[<get: System.Security.SecurityCritical>]
[<get: System.Security.SecurityTreatAsSafe>]
member this.Weight : System.Windows.FontWeight
Public ReadOnly Property Weight As FontWeight

属性值

一个类型为 FontWeight 的值,表示字体的粗细。

属性

适用于