I am working on winforms and need to create a pdf page in which users enters his details and my code is :
PdfPCell first_form1 = new PdfPCell();
first_form1.AddElement(new Phrase("6) Complete Postal Address " + "\n\n", normalFontBold));
first_form1.AddElement(new Phrase("7) Date of Birth(Proof in the form of birth certificate or school certificate or medical certificate indicating age) " + "\n\n", normalFontBold));
first_form1.AddElement(new Phrase("8) Age (in complete years) as on the date of marriage " + "\n\n", normalFontBold));
first_form1.AddElement(new Phrase("9) Date Of Marriage " + "\n\n", normalFontBold));
first_form1.AddElement(new Phrase("10) Place Of Marriage " + "\n\n", normalFontBold));
PdfPCell second_form1 = new PdfPCell();
second_form1.AddElement(new Phrase(boy_address + "\n\n", normalFontBold));
second_form1.AddElement(new Phrase(boy_dob + "\n\n\n\n", normalFontBold));
second_form1.AddElement(new Phrase(boy_age + "\n\n\n", normalFontBold));
second_form1.AddElement(new Phrase(date_0f_mrg + "\n\n", normalFontBold));
second_form1.AddElement(new Phrase(place_of_mrg + "\n\n", normalFontBold));
PdfPCell third_form1 = new PdfPCell();
third_form1.AddElement(new Phrase(girl_address + "\n\n", normalFontBold));
third_form1.AddElement(new Phrase(girl_dob + "\n\n\n\n", normalFontBold));
third_form1.AddElement(new Phrase(girl_age + "\n\n\n", normalFontBold));
third_form1.AddElement(new Phrase(date_0f_mrg + "\n\n", normalFontBold));
third_form1.AddElement(new Phrase(place_of_mrg + "\n\n", normalFontBold));
detailsTable_form1.AddCell(first_form1);
detailsTable_form1.AddCell(second_form1);
detailsTable_form1.AddCell(third_form1);
// And if i am having address almost equal characters then it prints fine but if i m having boy address too large suppose it is having more than 100 characters then the sequence for the next upcoming lines will be changed