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

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

Syntax

C#
public PdfCheckBox AddCheckBox(
	PdfRectangle boundingBox
)
VB
Public Function AddCheckBox ( 
	boundingBox As PdfRectangle
) As PdfCheckBox

Parameters

boundingBox
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle 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