.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfAcroFormField.CreateCheckBox(String, Int32, PdfRectangle) Method

Creates a check box field using the field name, page number, and a rectangle where the check box field will be located on a page.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.1.Core.dll

Declaration

public static PdfAcroFormCheckBoxField CreateCheckBox(
    string name,
    int pageNumber,
    PdfRectangle rect
)

Parameters

Name Type Description
name String

A String that specifies the name of a check box field.

pageNumber Int32

An integer value that specifies the page number where the form field will be created.

rect PdfRectangle

A PdfRectangle object that represents a rectangle inside which a check box field is located on a page.

Returns

Type Description
PdfAcroFormCheckBoxField

A PdfAcroFormCheckBoxField object that represents a created check box field.

See Also