PdfPage.AddRadioButton Method (String, PdfRectangle)

Adds the new radio button control with specified unique radio button group name to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfRadioButton AddRadioButton(
	string name,
	PdfRectangle boundingBox
)
VB
Public Function AddRadioButton ( 
	name As String,
	boundingBox As PdfRectangle
) As PdfRadioButton

Parameters

name
Type: System.String
The unique name of the radio button group to which the new radio button control should be added.
boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and the size of the radio button. Width of rectangle is not used - the radio button area will be a square with a side equals to rectangle's height.

Return Value

Type: PdfRadioButton
The newly created PdfRadioButton object.

Remarks

The Rotation of the new radio button is set to the rotation (Rotation) of the owner page.

See Also