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
)
Public Function Add (
pos As Rect,
onstate As String
) As RadioButtonWidget
public:
virtual RadioButtonWidget^ Add(
[InAttribute] Rect^ pos,
[InAttribute] String^ onstate
) sealed
function Add(pos, 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 Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also