Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddRadioButton Method > AddRadioButton Method (String, Double, Double, Double)
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,
	double left,
	double top,
	double height
)
VB
Public Function AddRadioButton ( 
	name As String,
	left As Double,
	top As Double,
	height As Double
) 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.
left
Type: System.Double
The x-coordinate of the upper-left corner of the radio button.
top
Type: System.Double
The y-coordinate of the upper-left corner of the radio button.
height
Type: System.Double
The height of the radio button.

Return Value

Type: PdfRadioButton
The newly created PdfRadioButton object.

Remarks

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

See Also