.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfAcroFormCheckBoxField Class

Represents a check box field.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.2.Core.dll

Declaration

public class PdfAcroFormCheckBoxField :
    PdfAcroFormCommonVisualField
Public Class PdfAcroFormCheckBoxField
    Inherits PdfAcroFormCommonVisualField
public class PdfAcroFormCheckBoxField :
    PdfAcroFormCommonVisualField
Public Class PdfAcroFormCheckBoxField
    Inherits PdfAcroFormCommonVisualField
public class PdfAcroFormCheckBoxField :
    PdfAcroFormCommonVisualField
Public Class PdfAcroFormCheckBoxField
    Inherits PdfAcroFormCommonVisualField

Remarks

The check box field is represented by an instance of the PdfAcroFormCheckBoxField class with the specified field name, page number where the field will be added, and the field rectangle.

The PdfAcroFormCheckBoxField class contains properties to specify a check box field. For example, to specify the check box name, tooltip and appearance, use PdfAcroFormField.Name, PdfAcroFormField.ToolTip, and PdfAcroFormVisualField.Appearance properties.

You can also specify whether a check box is in the pushed state using the PdfAcroFormCheckBoxField.IsChecked property.

To add check box fields to a document, pass an array of PdfAcroFormCheckBoxField objects as a parameter to the PdfDocumentProcessor.AddFormFields method.

To delete a form field from a document using a field name, call the PdfDocumentProcessor.RemoveFormField method.

To delete all interactive elements from a document, call the PdfDocumentProcessor.RemoveForm method.

See Also