本示例将选中内容的最后一个段落设置为右对齐。

Selection.Paragraphs.Last.Alignment = wpsAlignParagraphRight