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.0.0+fdabb036503e9f99735634a6d4f5be875399e9f5
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