# New-OfficePdfTableCellField

Creates a typed text or choice field for a PDF table cell.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: PdfTableCellField

**Module**

`PSWriteOffice`

**Aliases**

`PdfTableCellField`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Pdf.PdfTableCellFormField`

**Source**

[NewOfficePdfTableCellFieldCommand.cs:18](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/NewOfficePdfTableCellFieldCommand.cs#L18) 

Creates a typed text or choice field for a PDF table cell.

## Syntax

```
New-OfficePdfTableCellField
[-FontSize <Double>]
[-Height <Double>]
[-Name] <String>
[[-Value] <String>]
[-Width <Double>]
[<CommonParameters>]
```

[#](#method-new-officepdftablecellfield-double-double-string-string-double)

Parameter set: `Text`

```
New-OfficePdfTableCellField
[-FontSize <Double>]
[-Height <Double>]
[-ListBox]
[-Name] <String>
-Option <String[]>
[[-Value] <String>]
[-Width <Double>]
[<CommonParameters>]
```

[#](#method-new-officepdftablecellfield-double-double-switchparameter-string-string-string-double)

Parameter set: `Choice`

## Examples

### Create a reviewer choice field for a typed PDF table cell.

```powershell
$reviewer = New-OfficePdfTableCellField -Name Reviewer -Option 'Unassigned', 'Alice', 'Bob' -Value 'Unassigned'
$cell = New-OfficePdfTableCell -Text 'Reviewer' -FormField $reviewer
```

The choice field is positioned by the OfficeIMO PDF table renderer.

## Parameters

**-FontSize Double optional**

Field font size in PDF points.

**-Height Double optional**

Rendered field height in PDF points.

**-Name String requiredposition: 0**

Unique AcroForm field name.

**-Value String optionalposition: 1**

Initial field value.

**-Width Double optional**

Rendered field width in PDF points.

**-ListBox SwitchParameter optionalsets: Choice**

Render a choice field as a list box instead of a combo box.

**-Option String[] requiredsets: Choice**

Available values for a choice field.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:9550981FA0BA6C1FB640596E3C56110F1ED2087DDD55C5A90C39C1AB25C5823C -->
