語言

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 中特定段落的設定。

適用於

另請參閱