[英]table overlap to next chart when allow autofit in aspose.word in .net c#
I have a table named table
and then i put a chart in my .docx file .but when I set 我有一个名为
table
,然后将图表放入.docx文件中。但是当我设置时
table.AllowAutoFit = true;
and 和
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
table overlap to next char. 表与下一个字符重叠。
how to fix this problem? 如何解决这个问题?
I solve it by noob solution: after table I put a loop of new line 我通过菜鸟解决方案解决它:在表之后,我放了一个新行循环
for (int i = 0; i < 12; i++)
{
builder.InsertParagraph();
builder.Writeln();
}
I know above code is noob solution but it is only solution for solve this problem.(without using pagebreak) 我知道上面的代码是noob解决方案,但仅是解决此问题的解决方案。(不使用分页符)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.