TextPatternIdentifiers.FontWeightAttribute フィールド

定義

テキスト範囲の FontWeight 属性を識別します。

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ FontWeightAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute FontWeightAttribute;
 staticval mutable FontWeightAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly FontWeightAttribute As AutomationTextAttribute 

フィールド値

注釈

フォントの相対ストローク、太さ、または太字を参照します。

これは、GDI LOGFONT の lfWeight フィールドの後にモデル化されます。 一貫性を保つため、LOGFONT から次の値が採用されています。0=DontCare、100=Thin、200=ExtraLight または UltraLight、300=Light、400=Normal または Regular、500=Medium、600=SemiBold または DemiBold、700=Bold、800=ExtraBold または UltraBold、900=Heavy または Black。

この識別子は、UI オートメーション プロバイダーによって使用されます。 UI オートメーション クライアント アプリケーションでは、 TextPatternで同等のフィールドを使用する必要があります。

この属性の値は、 Int32型です。

既定値は zero です。

適用対象

こちらもご覧ください