TextPatternIdentifiers.FontWeightAttribute Pole

Definicja

Identyfikuje atrybut FontWeight zakresu tekstu.

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 

Wartość pola

AutomationTextAttribute

Uwagi

Odnosi się do względnego pociągnięcia, grubości lub pogrubienia czcionki.

Jest to modelowane po lfWeight polu w GDI LOGFONT. Dla spójności przyjęto następujące wartości z LOGFONT: 0=DontCare, 100=Thin, 200=ExtraLight lub UltraLight, 300=Light, 400=Normal lub Regular, 500=Medium, 600=SemiBold lub DemiBold, 700=Bold, 800=ExtraBold lub UltraBold i 900=Heavy lub Black.

Ten identyfikator jest używany przez dostawców automatyzacja interfejsu użytkownika. automatyzacja interfejsu użytkownika aplikacje klienckie powinny używać odpowiedniego pola w pliku TextPattern.

Wartości tego atrybutu są typu Int32.

Wartość domyślna to zero.

Dotyczy

Zobacz też