Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有人找到了一种在段落前添加分页符的方法,以防该段落被拆分为 2 页。因为我不想这样,所以我希望我创建的所有段落都不会被破坏。
您可能想尝试该Paragraph.KeepTogether属性。根据文档,它将段落的所有行保持在同一页面上。
Paragraph.KeepTogether