Hoping someone can help as i have seen similar posts but no-one has got a final answer.
Hi Graeme,
Thanks for your inquiry, I've managed to reproduce the issue at my end and logged it as PDFNEWNET-34897 in our issue tracking system for further investigation and resolution. We will keep you updated regarding issue status via this thread.
Sorry for the inconvenience faced.
Best Regards,
Is there an ETA for this yet as it is becoming quite urgenmt?
Is there an ETA for this yet as it is becoming quite urgent?
Hi Graeme,
the inconvenience faced. I’m afraid, the reported issue is still not resolved
due to some other priority tasks and it’s pending in the queue for analysis. I’ve recorded your concerns regarding the urgency of the matter and requested
the development team to share the ETA at their earliest and as soon as I get a
feedback I’ll update you via this forum thread.
your patience and understanding.
Hi Graeme,
Document doc = new
Document();<o:p></o:p>
Aspose.Pdf.Page page = doc.Pages.Add();
//Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
//Add a section in the Pdf document
//Create a table, set its column widths and add it to paragraphs collection
//of the section
Aspose.Pdf.Table tab1 = new Aspose.Pdf.Table();
tab1.ColumnWidths = "120 120";
page.Paragraphs.Add(tab1);
//create rows
for (int r = 0; r < 3; r++)
{
//Add a row to the table
Aspose.Pdf.Row r1 = tab1.Rows.Add();
//Aspose.Pdf.FormField radio = new Aspose.Pdf.Generator.FormField();
//Create a form field of RadioButton type. Set its field name and button color.
//Then set the index of the radio button value to be checked
RadioButtonField radio = new RadioButtonField(doc);
radio.PartialName = "ARadio" + r;
for (int c = 0; c < 2; c++)
{ //Add 1st cell to the row, set its padding and set the ID of the first paragraph
Aspose.Pdf.Cell c1 = r1.Cells.Add("");
RadioButtonOptionField bt1 = new RadioButtonOptionField();
bt1.Width = 12;
bt1.Height = 12;
bt1.OptionName = "text1" + r + c;
radio.Add(bt1);
bt1.Border = new Border(bt1);
bt1.Border.Width = 1;
bt1.Border.Style = Aspose.Pdf.InteractiveFeatures.Annotations.BorderStyle.Solid;
bt1.Characteristics.Border = System.Drawing.Color.Black;
bt1.DefaultAppearance.TextColor = System.Drawing.Color.Red;
bt1.Caption = new TextFragment("Item " + c + " " + r);
c1.Paragraphs.Add(bt1);
}
//Add the radio form field to the paragraphs collection of the section
page.Paragraphs.Add(radio);
}
MemoryStream stream = new MemoryStream();
doc.Save(stream);
FormEditor fe = new FormEditor();
fe.BindPdf(stream);
fe.AddSubmitBtn("submitbutton", 1, "Submit", "http://localhost/PDFGeneration/PostData.asmx/SubmitData", 100, 450, 150, 475);
fe.Save("34897-1.pdf");
Please feel free to contact us for any further assistance.
Best Regards,