Partager via


Paragraph.TabHangingIndent Method (Word)

Sets a hanging indent to a specified number of tab stops. .

Syntax

expression .TabHangingIndent(Count)

expression Required. A variable that represents a Paragraph object.

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 tab stops from a hanging indent if the value of Count is a negative number.

Example

This example sets a hanging indent to the second tab stop for the first paragraph in the active document.

ActiveDocument.Paragraphs(1).TabHangingIndent(2)

This example moves the hanging indent back one tab stop for the first paragraph in the active document.

ActiveDocument.Paragraphs(1).TabHangingIndent(-1)

See Also

Concepts

Paragraph Object

Paragraph Object Members