SpaceBefore 属性

       

以磅或行为单位返回或设置指定文本中每段首行前的间距大小。可读写。Single 类型。

示例

本示例将当前演示文稿第一张幻灯片第二个形状中文本的段落前的间距设为 6 磅。

With Application.ActivePresentation.Slides(1).Shapes(2)
    With .TextFrame.TextRange.ParagraphFormat
        .LineRuleBefore = False
        .SpaceBefore = 6
    End With
End With