ParagraphFormat.ListIndent 属性 (Publisher)

返回或设置一个 Single 类型的值,该值代表指定 ParagraphFormat 对象的列表缩进值 (以为单位) 。 读/写。

语法

表达式ListIndent

表达 一个代表 ParagraphFormat 对象的变量。

返回值

单精度

示例

本示例将 ParagraphFormat 对象的 ListIndent 属性设置为 0.25 英寸。 InchesToPoints 方法用于将英寸转换为磅。

Dim objParaForm As ParagraphFormat 
 
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _ 
.TextFrame.TextRange.ParagraphFormat 
 
With objParaForm 
 .ListIndent = InchesToPoints(0.25) 
End With 

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。