PdfFiles.zip (232.8 KB)
When setting a radio selection via code it appears to change the size of the checkmark to be very small. (Ends up in the top right corner in this example).
The checkmark appears correctly when opening in a reader from the original file or if the file is saved unmodified from Aspose.
See the first gender radios inputs in the attached files
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"c:\temp\Test.pdf");
doc.Save(@"c:\temp\preresult.pdf"); // Radio checkmark continues to look correct
var field = (Aspose.Pdf.Forms.RadioButtonOptionField)doc.Form.Fields.FirstOrDefault(f => f.FullName == "GENDER");
var radioGroup = (Aspose.Pdf.Forms.RadioButtonField)field.Parent;
radioGroup.Selected = 1;
doc.Save(@"c:\temp\result.pdf"); // Radio checkmark is tiny
Would you please share some screenshots as well because we are unable to notice the issue with Aspose.PDF for .NET 19.11. Generated PDF document has been attached for your kind reference. Result_19.11.pdf
We are unable to notice difference in size when opening the PDF documents with Adobe Reader or Microsoft Edge. Attached is a comparison screenshot of what Microsoft Edge displays for both files. Comparison.jpg
We have been able to reproduce the issue in our environment. A ticket with ID PDFNET-47386 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.