Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddRadioButton Method > AddRadioButton Method (Double, Double, Double, Double, String)
Adds the new radio button control with auto-generated radio button group name and caption to the PdfPage.

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

Syntax

C#
public PdfRadioButton AddRadioButton(
	double left,
	double top,
	double width,
	double height,
	string caption
)
VB
Public Function AddRadioButton ( 
	left As Double,
	top As Double,
	width As Double,
	height As Double,
	caption As String
) As PdfRadioButton

Parameters

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.
width
Type: System.Double
The width of the radio button with caption.
height
Type: System.Double
The height of the radio button.
caption
Type: System.String
The radio button caption.

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