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
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();