Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Dec 25, 2019 9:40 pm

Hi,

is ist posible to get the "PdfCheckBoxStyle" from "PdfRadioButtonListItem"?

mfg GH

GHWels
 
Posts: 90
Joined: Sun Nov 23, 2014 7:22 pm

Thu Dec 26, 2019 9:32 am

Hi,

Thanks for your inquiry.
Sorry that Spire.PDF doesn't support to get the button style of radio button field from existing file at present. We will consider adding this new feature into our upgrade schedule. Once there is any progress, we will inform you.
Sorry for the inconvenience caused.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Thu Dec 26, 2019 8:31 pm

Hi,

Thank you for your prompt reply.
I hope you can solve the problem soon.

GH

GHWels
 
Posts: 90
Joined: Sun Nov 23, 2014 7:22 pm

Fri Dec 27, 2019 1:15 am

Hi,

Thanks for your reply.
Once there is any progress about this issue, we will inform you ASAP. Sorry for the inconvenience caused.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Thu Jan 09, 2020 11:24 am

Hi,

Hope you are doing well.
Glad to inform you that the new feature has been finished in Spire.PDF Pack Version:6.1. Welcome to download and test it from the following links:
Our website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
NuGet link: https://www.nuget.org/packages/Spire.PDF/6.1.4

And below is the code for you.
Code: Select all
            PdfFormWidget form = pdf.Form as PdfFormWidget;
            for (int i = 0; i < form.FieldsWidget.List.Count; i++)
            {
                PdfField field = form.FieldsWidget.List[i] as PdfField;
                if (field is PdfRadioButtonListFieldWidget)
                {
                    PdfRadioButtonListFieldWidget radioButton1 = field as PdfRadioButtonListFieldWidget;

                    //get the button style of RadioButton
                    PdfCheckBoxStyle buttonStyle = radioButton1.ButtonStyle;
                    String name = "button style: " + buttonStyle.ToString();
                    Console.WriteLine(name);
                    Console.Read();
                }
            }

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Sun Jan 19, 2020 10:46 am

Hi,

Greetings from E-iceblue.
Have you downloaded and tried Spire.PDF Pack Version:6.1? Does it solve your issue?
Could you please give us some feedback at your convenience?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.PDF