title: MigraDoc C# Align left and right on same line
body: <p>I have a table with a cell where i want two texts, the first, aligned on left and the second aligned on the right, in the same cell, on the same line.</p>
  
  <p>I tried to reproduce this cell with MigraDoc without success. I only can add two texts aligned on left and right but not on same line.</p>
  
  <p>Here my code:</p>
  
  <pre><code>Cell cellFooter1 = rowFooter.Cells[0];
  Paragraph paraphTot = new Paragraph();
  paraphTot.Format.Alignment = ParagraphAlignment.Left;
  paraphTot.AddText("Left text");
  cellFooter1.Add(paraphTot);
  Paragraph paraphDetails = new Paragraph();
  paraphDetails.Format.Alignment = ParagraphAlignment.Right;
  paraphDetails.AddText("Right text");
  cellFooter1.Add(paraphDetails);
  </code></pre>
  
  <p>A solution is presented here (<a href="http://forum.pdfsharp.net/viewtopic.php?f=2&amp;t=2373" rel="noreferrer">http://forum.pdfsharp.net/viewtopic.php?f=2&amp;t=2373</a>) but I'm not able to do same with my table. I don't understand how it work.</p>
  
  <p><strong>Edit : Partial solution :</strong></p>
  
  <p>After a hard work to understand how it work, my code is partially working. partial because the only way I found to right align is to creat a TabStop with an approximative value... not fine.</p>
  
  <pre><code>Table table = new Table();
  table.Borders.Width = 0.75;
  Column myColumn = table.AddColumn(Unit.FromCentimeter(7));
  Row myRow = table.AddRow();
  Cell myCell = myRow.Cells[0];
  Paragraph myParagraph = new Paragraph();
  Style myStyle = doc.AddStyle("myStyle", "Normal");
  myStyle.ParagraphFormat.Font.Size = 6.5;
  myStyle.ParagraphFormat.Font.Bold = true;
  myStyle.ParagraphFormat.TabStops.Clear();
  myStyle.ParagraphFormat.AddTabStop(Unit.FromMillimeter(67), TabAlignment.Right);
  myParagraph.Style = "myStyle";
  myParagraph.Format.Alignment = ParagraphAlignment.Left;
  myParagraph.AddFormattedText("left", "myStyle");
  myParagraph.AddTab();
  myParagraph.AddFormattedText("right", "myStyle");
  myCell.Add(myParagraph);
  </code></pre>
  
  <p>It work but how to find the good value for the AddTab function ? I put <strong><em>67</em></strong> because 68to70 is not working.</p>