段落升级方法(Word)Paragraph.Outdent method (Word)

为一个或多个段落删除一个级别的缩进。Removes one level of indent for one or more paragraphs.

语法Syntax

expression.expression. Outdent

_表达式_是必需的。expression Required. 一个代表 "段落" 对象的变量。A variable that represents a 'Paragraph' object.

说明Remarks

此方法等效于单击 “格式” 工具栏上的 “减少缩进量” 按钮。This method is equivalent to clicking the Decrease Indent button on the Formatting toolbar.

示例Example

以下示例为活动文档中的所有段落增加两个级别的缩进,然后为第一段删除一个级别的缩进。This example indents all the paragraphs in the active document twice, and then it removes one level of the indent for the first paragraph.

With ActiveDocument.Paragraphs 
 .Indent 
 .Indent 
End With 
ActiveDocument.Paragraphs(1).Outdent

另请参阅See also

段落对象Paragraph Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.