Skip to content

Commit

Permalink
910367_sample: Resolve the feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sri-hari-haran-g committed Sep 19, 2024
1 parent f1e7702 commit 403cf10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.Pdf.Net.Core" Version="26.2.14" />
<PackageReference Include="Syncfusion.Pdf.Net.Core" Version="*" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
// Add a new page to the PDF document
PdfPage page = document.Pages.Add();

// Create a new radio button list field named "employeesRadioList"
PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList");
// Create a new radio button list field
PdfRadioButtonListField genderRadioList = new PdfRadioButtonListField(page, "gender");
// Create a font
PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12, PdfFontStyle.Regular);

Expand All @@ -31,7 +31,7 @@
page.Graphics.DrawString("Female", font, PdfBrushes.Black, new RectangleF(225, 204, 180, 20));
// Add the radio button item to the list
employeesRadioList.Items.Add(radioItem2);

//Set the default value of the radio button field.
employeesRadioList.SelectedIndex = 1;
// Add the radio button list to the form
document.Form.Fields.Add(employeesRadioList);
Expand Down

0 comments on commit 403cf10

Please sign in to comment.