Publisher) (ParagraphFormat.ListIndent 属性

返回或设置一个 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 支持和反馈,获取有关如何接收支持和提供反馈的指南。