title: How to add text in PdfContentByte rectangle using itextsharp?
body: <p>I have created rectangle using PdfContentByte. Now I want to adda text inside this rectangle. How can I do this. If anybody have idea please share with me.My rectangle code is</p>
  
  <pre><code> Document doc = new Document(new Rectangle(570, 924f));
   PdfWriter writer = PdfWriter.GetInstance(doc,Response.OutputStream);
   PdfContentByte cb = writer.DirectContent;
   cb.Rectangle(doc.PageSize.Width -90f, 830f, 50f,50f);
   cb.Stroke();
  </code></pre>