次の方法で共有


ParagraphFormat.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 ParagraphFormat 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 of the selected paragraphs to the second tab stop.

Selection.ParagraphFormat.TabHangingIndent(2)

This example moves the hanging indent of the selected paragraphs back one tab stop.

Selection.ParagraphFormat.TabHangingIndent(-1)

See Also

Concepts

ParagraphFormat Object

ParagraphFormat Object Members