insertstyleseparator()在章节开始[aspose Word]的开始中添加带有文本的空白
我正在使用.net aspose word api生成Word文档,但是在使用InsertStyleSeparator()时,页面断开后,它将使用第一行和第二行文本添加空白。有人为此做任何工作吗?
I am using .net aspose word api to generate word document but after page break when i use insertStyleSeparator() it add white space with first and second line text. Anyone have any work around for that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您不正确地使用样式分离器。当您需要使用不同样式的单个段落格式化零件时,使用样式分离器。但是从您的描述来看,您可以通过普通段落和
It sounds that you are using Style Separator improperly. Style Separator is used when you need to format parts for a single paragraph with different styles. But from your description you can achieve what you need with normal paragraphs and ParagraphFormat.PageBreakBefore property to init page break instead of explicit page break. For example see the following code: