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 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈