TextBlock.TextLineBounds 屬性

定義

取得或設定值,這個值表示 TextBlock 中每一行文字如何決定行框高度。

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

void TextLineBounds(TextLineBounds value);
public TextLineBounds TextLineBounds { get; set; }
var textLineBounds = textBlock.textLineBounds;
textBlock.textLineBounds = textLineBounds;
Public Property TextLineBounds As TextLineBounds
<TextBlock TextLineBounds="textLineBoundsValue"/>

屬性值

值,指出 TextBlock 中每一行文字的行框高度如何決定。 預設值是 Full

備註

如需 TextLineBounds 不同值如何影響相鄰文字行的圖例,請參閱 TextLineBounds

適用於