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.FourHeights.PdfToolbox.Pdf.Forms
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
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