title: Table in Word document with n columns to fit as per page size and allow truncated columns to break across page using Aspose.words for .Net
body: <p>I'm generating a word document using Aspose.Words(Evaluation mode) for .Net in which I'm building a table as following   </p>
  
  <pre><code>   Document doc = new Document();
     DocumentBuilder builder = new DocumentBuilder(doc);
     Table table = builder.StartTable();
     for (int i = 0; i &lt; 5; i++)
     {
         for(int j = 0; j &lt; 20; j++)
         {
              builder.InsertCell();
              builder.Write("Column : "+ j.toString());
          }
       builder.EndRow();
     }
     builder.EndTable();
     doc.Save(ms, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(SaveFormat.Doc));
     FileStream file = new FileStream(@"c:\NewDoc.doc", FileMode.Create, FileAccess.Write);
     ms.WriteTo(file);
     file.Close();
     ms.Close();
  </code></pre>
  
  <p>Now this code gives following word file with invisible columns, it should give 20 columns </p>
  
  <p><img src="https://i.stack.imgur.com/mgGZR.png" alt="Table with truncated columns">
  .</p>
  
  <p>Is there any way to break invisible columns to next page?</p>