TextDecoration.PenThicknessUnit Özellik

Tanım

Metin süslemelerinin Pen ifade edildiği Thickness birimleri alır.

public:
 property System::Windows::TextDecorationUnit PenThicknessUnit { System::Windows::TextDecorationUnit get(); void set(System::Windows::TextDecorationUnit value); };
public System.Windows.TextDecorationUnit PenThicknessUnit { get; set; }
member this.PenThicknessUnit : System.Windows.TextDecorationUnit with get, set
Public Property PenThicknessUnit As TextDecorationUnit

Özellik Değeri

TextDecorationUnit

Metin dekorasyonunun Thickness Pen ifade edildiği birimler. Varsayılan değer: FontRecommended.

Örnekler

Aşağıdaki kod örneğinde özelliğin nasıl ayarlanacağı gösterilmektedir PenThicknessUnit .

// Move the text decoration lower using pixel value units.
myUnderline.PenOffset = 2;
myUnderline.PenOffsetUnit = TextDecorationUnit.Pixel;
myUnderline.PenThicknessUnit = TextDecorationUnit.Pixel;
' Move the text decoration lower using pixel value units.
myUnderline.PenOffset = 2
myUnderline.PenOffsetUnit = TextDecorationUnit.Pixel
myUnderline.PenThicknessUnit = TextDecorationUnit.Pixel
<!-- Move the text decoration lower using pixel value units. -->
<TextDecoration PenOffset="2" PenOffsetUnit="Pixel" PenThicknessUnit="Pixel" />

Açıklamalar

Bağımlılık Özelliği Bilgileri

Tanımlayıcı alanı PenThicknessUnitProperty
Meta veri özellikleri olarak ayarlandı true Hiçbiri

Şunlara uygulanır