Paragraph.TextIndent Property

Definition

Gets or sets the indentation of the first line of text in a paragraph, in pixels.

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"/>

Property Value

Double

double

The offset amount, in pixels, of the first line of text in a paragraph.

Remarks

You can set the indent amount for all paragraphs in a RichTextBlock by setting the RichTextBlock.TextIndent property. You can override this setting for specific paragraphs in a RichTextBlock by setting the Paragraph.TextIndent property to a different value.

Applies to

See also