简体   繁体   中英

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.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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM