本示例将选中段落的设置段前间距,如果段前间距大于 0 时设置为 0 磅,等于 0 时设置为 12 磅。

Selection.ParagraphFormat.OpenOrCloseUp