語言

RichTextBlock.TextIndent 屬性

定義

取得或設定 RichTextBlock 中每段文字第一行的縮排。

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

void TextIndent(double value);
public double TextIndent { get; set; }
var double = richTextBlock.textIndent;
richTextBlock.textIndent = double;
Public Property TextIndent As Double
<RichTextBlock TextIndent="double"/>

屬性值

Double

double

段落中第一行文字的偏移量。

備註

你可以透過將 Paragraph.TextIndent 屬性設定為不同值,來覆蓋 RichTextBlock 中特定段落的設定。

適用於

另請參閱