PdfPage.AddRadioButton Method (PdfRectangle, 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(
	PdfRectangle boundingBox,
	string caption
)
VB
Public Function AddRadioButton ( 
	boundingBox As PdfRectangle,
	caption As String
) As PdfRadioButton

Parameters

boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and 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