# PdfTableCellCheckBox

Represents a simple AcroForm check box rendered inside a PDF table cell.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[PdfTableCellCheckBox.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L10)

**Modifiers**

sealed

Represents a simple AcroForm check box rendered inside a PDF table cell.

## Inheritance

- object
- PdfTableCellCheckBox

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [PdfTableCell.CheckBoxes](/api/pdf/officeimo-pdf-pdftablecell/#property-checkboxes)

### Accepted by parameters 4

- Constructor [PdfTableCell.PdfTableCell](/api/pdf/officeimo-pdf-pdftablecell/#constructor-ctor-string-int32-string-string-int32-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-collections-generic-ienumerable-officeimo-pdf-pdftablecellformfield-collections-generic-ienumerable-officeimo-pdf-pdftablecellimage-string-string) parameter `checkBoxes`
- Method [PdfTableCell.WithCheckBoxes](/api/pdf/officeimo-pdf-pdftablecell/#method-withcheckboxes-collections-generic-ienumerable-officeimo-pdf-pdftextrun-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-int32-string-string-int32-string) parameter `checkBoxes`
- Method [PdfTableCell.WithFormFields](/api/pdf/officeimo-pdf-pdftablecell/#method-withformfields-collections-generic-ienumerable-officeimo-pdf-pdftextrun-collections-generic-ienumerable-officeimo-pdf-pdftablecellformfield-int32-string-string-int32-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-string) parameter `checkBoxes`
- Method [PdfTableCell.WithImages](/api/pdf/officeimo-pdf-pdftablecell/#method-withimages-collections-generic-ienumerable-officeimo-pdf-pdftextrun-collections-generic-ienumerable-officeimo-pdf-pdftablecellimage-int32-string-string-int32-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-collections-generic-ienumerable-officeimo-pdf-pdftablecellformfield-string) parameter `checkBoxes`

Filter members 

Show inherited

## Constructors

`public PdfTableCellCheckBox(string name, bool isChecked = false, OfficeLength? size = null, string checkedValueName = "Yes", PdfFormFieldStyle? style = null)` [#](#constructor-ctor-string-boolean-nullable-officeimo-officelength-string-officeimo-pdf-pdfformfieldstyle)

[PdfTableCellCheckBox.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L10)

Creates a table-cell check box.

Parameters

**name string required**

**isChecked bool = false optional**

**size OfficeIMO.OfficeLength? = null optional**

**checkedValueName string = "Yes" optional**

**style OfficeIMO.Pdf.PdfFormFieldStyle? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[PdfTableCellCheckBox.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L26)

Field name written to the AcroForm tree.

`public bool IsChecked { get; }` [#](#property-ischecked)

[PdfTableCellCheckBox.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L29)

Whether the generated check box is initially checked.

`public OfficeLength Size { get; }` [#](#property-size)

[PdfTableCellCheckBox.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L32)

Visual square size in points.

`public string CheckedValueName { get; }` [#](#property-checkedvaluename)

[PdfTableCellCheckBox.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L35)

PDF button appearance state name used when checked.

`public PdfFormFieldStyle Style { get; }` [#](#property-style)

[PdfTableCellCheckBox.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Pdf/Model/PdfTableCellCheckBox.cs#L38)

Visual style for the generated check box appearance streams.

<!-- PowerForge markdown artifact sha256:CC88C5DF013760A88EDC48F4D83425E48A662A941433B502FD4EA5B3627BB017 -->
