Hi ashhadsaud,
I have created the sample please check below.
Code
MemoryStream memoryStream = new MemoryStream();
Document pdfDoc = new Document(iTextSharp.text.PageSize.A4, 50, 50, 20, 50);
PdfWriter writer = PdfWriter.GetInstance(pdfDoc, memoryStream);
pdfDoc.Open();
Font font8 = FontFactory.GetFont("HELVETICA", 12, Font.BOLD);
Font fontHeading = FontFactory.GetFont("HELVETICA", 10, Font.BOLD);
float[] colWidth = { 500, 70, 350 };
PdfPTable newTable = new PdfPTable(3);
PdfPCell newCell = new PdfPCell();
PdfPTable ShowAmount = new PdfPTable(3);
ShowAmount.WidthPercentage = 30;
ShowAmount.HorizontalAlignment = Element.ALIGN_RIGHT;
ShowAmount.SetWidths(colWidth);
PdfPCell CellShowAmount = new PdfPCell(new Phrase(new Chunk("Show Amount Paid Here", font8)));
ShowAmount.AddCell(CellShowAmount);
CellShowAmount = new PdfPCell(new Phrase(new Chunk("$", font8)));
CellShowAmount.HorizontalAlignment = 1;
ShowAmount.AddCell(CellShowAmount);
CellShowAmount = new PdfPCell(new Phrase(new Chunk(" ", font8)));
ShowAmount.AddCell(CellShowAmount);
ShowAmount.SpacingBefore = 2;
ShowAmount.SpacingAfter = 70;
Paragraph StatementParagraph = new Paragraph();
StatementParagraph.Alignment = Element.ALIGN_CENTER;
StatementParagraph.Add(new Chunk("Statement", fontHeading));
Paragraph phead = new Paragraph();
phead.Alignment = Element.ALIGN_JUSTIFIED;
phead.Add(new Chunk("Name", font8));
newCell = new PdfPCell(ShowAmount);
newTable.AddCell(newCell);
newCell = new PdfPCell(StatementParagraph);
newTable.AddCell(newCell);
newCell = new PdfPCell(phead);
newTable.AddCell(newCell);
pdfDoc.Add(newTable);
pdfDoc.Close();
byte[] bytes = memoryStream.ToArray();
memoryStream.Close();
Response.Clear();
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=Images.pdf");
Response.ContentType = "application/pdf";
Response.Buffer = true;
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.BinaryWrite(bytes);
Response.End();
Response.Close();
Screenshot
