Partager via


Paragraphs.TabIndent Method (Word)

Sets the left indent for the specified paragraphs to a specified number of tab stops.

Syntax

expression .TabIndent(Count)

expression Required. A variable that represents a Paragraphs collection.

Parameters

Name

Required/Optional

Data Type

Description

Count

Required

Integer

The number of tab stops to indent (if positive) or the number of tab stops to remove from the indent (if negative).

Remarks

You can also use this method to remove the indent if the value of Count is a negative number.

Example

This example indents all paragraphs in the active document to the second tab stop.

ActiveDocument.Paragraphs.TabIndent(2)

This example moves the indent of all paragraphs in the active document back one tab stop.

ActiveDocument.Paragraphs.TabIndent(-1)

See Also

Concepts

Paragraphs Object Members

Paragraphs Collection Object