Adds the new check box control with auto-generated name and caption to the PdfPage.

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

Syntax

C#
public PdfCheckBox AddCheckBox(
	RectangleF boundingBox,
	string caption
)
VB
Public Function AddCheckBox ( 
	boundingBox As RectangleF,
	caption As String
) As PdfCheckBox

Parameters

boundingBox
Type: System.Drawing.RectangleF
The RectangleF structure that specifies the location and the size of the check box with caption.
caption
Type: System.String
The check box caption.

Return Value

Type: PdfCheckBox
The newly created PdfCheckBox object.

Remarks

The Rotation of the new check box is set to the rotation (PdfPage.Rotation) of the owner page.

See Also