Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddCheckBox Method > AddCheckBox Method (String, PointF, SizeF, String)
Adds the new check box control with specified unique name and caption to the PdfPage.

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

Syntax

C#
public PdfCheckBox AddCheckBox(
	string name,
	PointF position,
	SizeF size,
	string caption
)
VB
Public Function AddCheckBox ( 
	name As String,
	position As PointF,
	size As SizeF,
	caption As String
) As PdfCheckBox

Parameters

name
Type: System.String
The unique name of the check box control.
position
Type: System.Drawing.PointF
The position of the upper-left corner of the check box.
size
Type: System.Drawing.SizeF
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