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

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

Syntax

C#
public PdfCheckBox AddCheckBox(
	string name,
	double left,
	double top,
	double height
)
VB
Public Function AddCheckBox ( 
	name As String,
	left As Double,
	top As Double,
	height As Double
) As PdfCheckBox

Parameters

name
Type: System.String
The unique name of the check box control.
left
Type: System.Double
The x-coordinate of the upper-left corner of the check box.
top
Type: System.Double
The y-coordinate of the upper-left corner of the check box.
height
Type: System.Double
The height of the check box.

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