Click or drag to resize
Pdftools logo

RadioButtonAddNewWidget Method

Create radio button widget

This method creates a widget for the radio button. The widget is automatically added to the button's widgets and to the radio button form field's widgets, but not to any page.

Namespace: PdfTools.Toolbox.Pdf.Forms
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
Syntax
C#
public Widget AddNewWidget(
	Rectangle boundingBox
)

Parameters

boundingBox  Rectangle
The widget's target rectangle on the page

Return Value

Widget
the newly created form field widget
Exceptions
ExceptionCondition
InvalidOperationExceptionif the document has already been closed
NotSupportedExceptionif the document is read-only
See Also