Paragraph.TextIndent 屬性

定義

取得或設定段落中第一行文字的縮排,以圖元為單位。

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

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

屬性值

Double

double

段落中第一行文字的位移量,以圖元為單位。

備註

您可以設定RichTextBlock.TextIndent屬性,來設定RichTextBlock中所有段落的縮排數量。 您可以將 Paragraph.TextIndent 屬性設定為不同的值,以覆寫 RichTextBlock 中特定段落的此設定。

適用於

另請參閱