Click or drag to resize

RadioButtonGroupAdd Method (Rect, String)

Adds a new RadioButtonWidget to the RadioButtonGroup

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public RadioButtonWidget Add(
	Rect pos,
	string onstate
)

Parameters

pos
Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in user space coordinates.
onstate
Type: SystemString
The onstate for this button. This will rarely need to be explicitly set. However, it can be used to allow multiple radiobuttons in a group to be on at once if they have the same onstate.

Return Value

Type: RadioButtonWidget
A newly created default RadioButtonWidget.
Exceptions
ExceptionCondition
[!:PDFNetException] PDFNetException the PDFNet exception
See Also