BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
for (int i = 0; i < crfQuestion.Answers[0].MaxLength/200; i++) { var ansPar1 = table[0, 1].AddParagraph(); ansPar1.ParagraphFormat.Borders..Bottom.BorderType = BorderStyle.Single; ansPar1.AppendText("", DocStyles.answerText); } answerParagraph = table[0, 1].AddParagraph(); answerParagraph.ParagraphFormat.Borders.Bottom.BorderType = BorderStyle.Single;
Hi Andrea,
Thank you for contacting Syncfusion support.
Kindly define horizontal and vertical borders for the paragraphs in order to get bottom border for each and every paragraphs placed inside the table cell. Please refer to the following code example which illustrates the same.
Code example:
WParagraph para = table.Rows[0].Cells[0].AddParagraph() as WParagraph;
para.ParagraphFormat.Borders.Horizontal.BorderType = BorderStyle.Single;
para.ParagraphFormat.Borders.Vertical.BorderType = BorderStyle.Single;
Regards,
Sathish