Insert Checkbox and Radio Button in PDF with Aspose.PDF Cloud 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We’re happy to announce that Aspose.PDF Cloud 19.10 has been just released and available on production server. We’re continuously evolving the Aspose.PDF Cloud based on your feedback and requests. We’ve added support of Radio Box and Check Box fields in this release. These new exciting features will help you to create more interactive fillable PDF forms for data collection with simple HTTP requests. Spare some time and check release notes of this version for a complete list of enhancements and improvements.

Let me give you a quick walk through of some of these features, carried in this new release. We’ll be using Aspose.PDF Cloud SDK for .NET to exhibit new feature. However, you can use the SDK of your preferred programming language available at GitHub in your application directly.

How to Add Checkbox Field in PDF?

While working with PDF forms, you need to create checkboxes for data collection when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn’t uncheck the others. In this release, Aspose.PDF Cloud introduced support of checkbox field. Now you can add, update and get checkbox from PDF document or specific page or by checkbox field name.

Follow these steps to add a pre-selected checkbox field in a PDF document:

Step 1: Signup with aspose.cloud to get App SID and App key

Step 2: Create a new project in Visual Studio

Step 3: Install Aspose.PDF Cloud SDK for .NET NuGet Package

Step 4: Create a new method with following code to add a checkbox field in a PDF document

A cURL example to update the presentation slide size:

How to Add Radio Button Field in PDF?

A radio button is a very common control used in the forms. These are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. In other words, clicking a non-selected radio button will deselect whatever other button was previously selected in the list. Now you can add, update, and get radio buttons from PDF document or specific page or by radio button field name.

Here we demonstrate how to add a radio button into a PDF document using C#:

Repeat 1-3 steps from above example if required and use following code snippet to add radio button option in PDF document.

Output

To explore more about Aspose.PDF Cloud, please visit following resources.