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.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
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