We are using the FormField to generate checkbox and add it to the footer section.
But the chckbox is appreasing only for the first page, checkbox is not getting visible for the rest of the pages.
Code snippet we are suing is as follows:
Section sec1 = new Section();
Aspose.Pdf.Generator.HeaderFooter footer = new Aspose.Pdf.Generator.HeaderFooter(sec1);
// set the Odd footer of the PDF file
sec1.OddFooter = footer;
// set the Even footer of the PDF file
sec1.EvenFooter = footer;
footer.IsLastPageOnly = false;
Table tabMain = new Table();
tabMain.ColumnWidths = "100%";
//PdfUtils.SetColumnWidth(request.Pdf, tabMain, 0, 100);
tabMain.DefaultCellPadding = new MarginInfo() { Bottom = 3F };
Row rowSign = tabMain.Rows.Add();
Cell cellSign = rowSign.Cells.Add();
cellSign.Alignment = AlignmentType.Left;
Text txtcellChkMD = new Aspose.Pdf.Generator.Text();
txtcellChkMD.TextInfo = tf1;
cellSign.Paragraphs.Add(txtcellChkMD);
Aspose.Pdf.Generator.Segment seg2 = txtcellChkMD.Segments.Add();
FormField chk1 = new FormField();
chk1.FormFieldType = FormFieldType.CheckBox;
chk1.FieldName = "MD" ;
chk1.FormHeight = 10;
chk1.FormWidth = 10;
//chk1.CheckBoxIsChecked = false;
chk1.IsBordered = true;
seg2.InlineParagraph = chk1;
txtcellChkMD.Segments.Add(" MD");
Is there a way to display the ceckbox in footer for all the pages.
THanks,
Saikat