Hi,
I tried using the same codebase. I have a nested table with three Cells. Each cell should have a checkbox and text next to it. Although I can see the text getting displayed, the checkbox are not getting visible.Here is how I am using it:
Table tabChild = new Table(cellcheckBox1);
cellcheckBox1.Paragraphs.Add(tabChild);
tabChild.ColumnWidths = "60 60 60";
Row rowChild = tabChild.Rows.Add();
rowChild.DefaultRowCellPadding = new MarginInfo() { Right = 3F,Bottom=3F };
Cell chkAgree = rowChild.Cells.Add();
chkAgree.Alignment = AlignmentType.Left;
Text txtcellAccept = new Aspose.Pdf.Generator.Text();
txtcellAccept.TextInfo = tf1;
chkAgree.Paragraphs.Add(txtcellAccept);
txtcellAccept.Segments.Add("Agree");
Aspose.Pdf.Generator.Segment seg2 = txtcellAccept.Segments.Add();
FormField chk1 = new FormField();
chk1.FormFieldType = FormFieldType.CheckBox;
chk1.FieldName = "Agree";
chk1.FormHeight = 10;
chk1.FormWidth = 10;
seg2.InlineParagraph = chk1;
And the same way I have the other two checkboxes in the same row.
Please let me know if I am missing something.
Thanks,
If I use it wothout the table structure, the checkbox appears but the text is before the checkbox whereas I need it after the text box. Is it possible by any other means.
Saikat