PdfPage.AddRadioButton Method (String, PdfPoint, PdfSize, String)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddRadioButton Method > AddRadioButton Method (String, PdfPoint, PdfSize, String)
Adds the new radio button control with specified unique 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(
	string name,
	PdfPoint position,
	PdfSize size,
	string caption
)
VB
Public Function AddRadioButton ( 
	name As String,
	position As PdfPoint,
	size As PdfSize,
	caption As String
) 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.
position
Type: BitMiracle.Docotic.Pdf.PdfPoint
The position of the upper-left corner of the radio button.
size
Type: BitMiracle.Docotic.Pdf.PdfSize
The size of the radio button with caption.
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 (Rotation) of the owner page.

See Also