RichTextBlock.FontStretch 屬性

定義

取得或設定這個專案中文字內容的字型延展。

public:
 property FontStretch FontStretch { FontStretch get(); void set(FontStretch value); };
FontStretch FontStretch();

void FontStretch(FontStretch value);
public FontStretch FontStretch { get; set; }
var fontStretch = richTextBlock.fontStretch;
richTextBlock.fontStretch = fontStretch;
Public Property FontStretch As FontStretch
<RichTextBlock FontStretch="fontStretchMemberName"/>

屬性值

要求的字型延展,做為 FontStretch 常數。 預設值為 Normal。

備註

設定 FontStretch 屬性,以指定要用於 RichTextBlock中所有文字的預設字型延展。 您可以藉由設定TextElement.FontStretch屬性,覆寫RichTextBlock中特定文字元素的此值。

適用於

另請參閱