title: MultiColumnText could not be found error in Itextsharp
body: <p>I am trying to divide a pdf page into two parts using C# and iTextSharp. </p>
  
  <p>After doing this, I want to first add values into the first part and later to the second part.</p>
  
  <p>I googled and got to know <code>MultiColumnText</code> but while using its is giving error. I am using version <code>5.5.0</code> .</p>
  
  <p>Here is the code:</p>
  
  <pre><code>MultiColumnText columns = new MultiColumnText();
  
  //float left, float right, float gutterwidth, int numcolumns
  columns.AddRegularColumns(36f, doc.PageSize.Width - 36f, 24f, 2);
  
  Paragraph para = new Paragraph(text, new Font(Font.NORMAL, 8f));
  para.SpacingAfter = 9f;
  para.Alignment = Element.ALIGN_JUSTIFIED;
  
  for (int i = 0; i &lt; 8; i++)
  {
      columns.AddElement(para);
  }
  
  doc.Add(columns);
  </code></pre>
  
  <p>I am getting error at the first line: <code>MultiColumnText columns = new MultiColumnText();</code></p>
  
  <p>How can I use this code with this dll? Please help me!</p>
  
  <p>Updated Code..</p>
  
  <pre><code>        public static void paraPDF(){
  
          //string pdfpath = "D:\\hello\\12.pdf";
          string imagepath = "D:\\Bill\\Hello.pdf";
          Document doc = new Document();
  
  
          try
            {
                 string TEXT = "This is some long paragraph that will be added over and over again to prove a point.";
                 Rectangle[] COLUMNS = {
                  new Rectangle(36, 36, 290, 806),
                  new Rectangle(305, 36, 559, 806)
                };
  
  
          PdfWriter writer2= PdfWriter.GetInstance(doc, new FileStream(imagepath, FileMode.Create));
          doc.Open();
          PdfContentByte canvas = writer2.DirectContent;
          ColumnText ct = new ColumnText(canvas);
          int side_of_the_page = 0;
          ct.SetSimpleColumn(COLUMNS[side_of_the_page]);
           int paragraphs = 0;
                while (paragraphs &lt; 30)
            {
             ct.AddElement(new Paragraph(String.Format("Paragraph %s: %s", ++paragraphs, TEXT)));
                 while (ColumnText.HasMoreText(ct.Go()))
              {
          if (side_of_the_page == 0)
          {
              side_of_the_page = 1;
              canvas.MoveTo(297.5f, 36);
              canvas.LineTo(297.5f, 806);
              canvas.Stroke();
          }
          else
          {
              side_of_the_page = 0;
              doc.NewPage();
          }
          ct.SetSimpleColumn(COLUMNS[side_of_the_page]);
          doc.Close();
      }
  }
  </code></pre>