Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Paragraph.TextIndent Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?