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,
	RectangleF boundingBox
)
VB
Public Function AddCheckBox ( 
	name As String,
	boundingBox As RectangleF
) As PdfCheckBox

Parameters

name
Type: System.String
The unique name of the check box control.
boundingBox
Type: System.Drawing.RectangleF
The RectangleF structure that specifies the location and the size of the check box. Width of rectangle is not used - the check box area will be a square with a side equals to rectangle's height.

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