TextPatternIdentifiers.FontWeightAttribute Veld

Definitie

Hiermee wordt het FontWeight kenmerk van een tekstbereik geïdentificeerd.

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 

Waarde van veld

Opmerkingen

Verwijst naar de relatieve lijn, dikte of vetheid van een lettertype.

Dit wordt gemodelleerd na het lfWeight veld in GDI LOGFONT. Voor consistentie zijn de volgende waarden overgenomen uit LOGFONT: 0=DontCare, 100=Thin, 200=ExtraLight of UltraLight, 300=Light, 400=Normal of Regular, 500=Medium, 600=SemiBold of DemiBold, 700=Bold, 800=ExtraBold of UltraBold en 900=Heavy of Black.

Deze id wordt gebruikt door UI Automation providers. UI Automation clienttoepassingen moeten gebruikmaken van het equivalente veld in TextPattern.

Waarden voor dit kenmerk zijn van het type Int32.

De standaardwaarde is zero.

Van toepassing op

Zie ook