Novacode DocX Fixed Table Size in C#
<p>How to have a fixed table size in C#? Like when I add the items, the still the same size as the template but the columns can be AutoFit. Thank you!</p>

<p><strong>My Code:</strong></p>

<pre><code>Table tbl2 = doc.AddTable(15, 5);

tbl2.AutoFit = AutoFit.Contents;

tbl2.Alignment = Alignment.center;

tbl2.Rows[0].Cells[0].Paragraphs.First().Append("QUANITY").Bold().Font(new System.Drawing.FontFamily("Calibri")).Alignment = Alignment.center;
tbl2.Rows[0].Cells[1].Paragraphs.First().Append("UNIT").Bold().Font(new System.Drawing.FontFamily("Calibri")).Alignment = Alignment.center;
tbl2.Rows[0].Cells[2].Paragraphs.First().Append("DESCRIPTION").Bold().Font(new System.Drawing.FontFamily("Calibri")).Alignment = Alignment.center;
tbl2.Rows[0].Cells[3].Paragraphs.First().Append("UNIT PRICE").Bold().Font(new System.Drawing.FontFamily("Calibri")).Alignment = Alignment.center;
tbl2.Rows[0].Cells[4].Paragraphs.First().Append("TOTAL").Bold().Font(new System.Drawing.FontFamily("Calibri")).Alignment = Alignment.center;
</code></pre>

<p><a href="http://i.stack.imgur.com/1JMVx.png" rel="nofollow">My Table</a></p>

<p>P.S.: Is there any video tutorial that teaches Novacode DocX, can you give me the link. It really help us a lot! Thanks! </p>