Hi!
I need to add in table cell different paragraphs.
I try to use this variant but checkbox in second paragraph go out from cell.
Where is my mistakes?
Code:
field_2 = row.Cells[3].AddTextFrame();
field_2.Width = "10 pt";
field_2.Height = "6 pt";
field_2.MarginRight = "1 pt";
field_2.MarginBottom = "1 pt";
field_2.WrapFormat.DistanceBottom = 0;
field_2.WrapFormat.DistanceLeft = 0;
field_2.WrapFormat.DistanceRight = 0;
paragraph = field_2.AddParagraph("21");
paragraph.Format.Font.Size = 5;
paragraph = row.Cells[3].AddParagraph();
paragraph.AddFormattedText("\u00fe", new Font("Wingdings"));
paragraph.Format.Alignment = ParagraphAlignment.Right;
paragraph.Format.Font.Size = 18;