Table of Contents

Method AddCheckBox

Namespace
PdfSharp.Pdf.Forms
Assembly
PdfSharp.dll

AddCheckBox(string, PdfPage, XRect, PdfFormFieldStyle?)

Adds a check box, unchecked. Its on state is /Yes; set Checked to check it.

public PdfFormCheckBoxField AddCheckBox(string name, PdfPage page, XRect rectangle, PdfFormFieldStyle? style = null)

Parameters

name string
page PdfPage
rectangle XRect
style PdfFormFieldStyle

Returns

PdfFormCheckBoxField