Share via


RichTextBlock.TextLineBounds 属性

定义

获取或设置一个值,该值指示如何为 RichTextBlock 中的每行文本确定行框高度。

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

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

属性值

一个 值,该值指示如何为 RichTextBlock 中的每一行文本确定行框高度。 默认值为“完整”。

注解

有关 TextLineBounds 的不同值如何影响相邻文本行的插图,请参阅 TextLineBounds

适用于