API Reference

Cmdlet

New-OfficePdfTableCellField

Aliases: PdfTableCellField
Namespace PSWriteOffice
Aliases
PdfTableCellField
Outputs
OfficeIMO.Pdf.PdfTableCellFormField

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

Remarks

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

Examples

Authored help example

Example 1: Create a reviewer choice field for a typed PDF table cell.

PS>


$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.

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.

Syntax

New-OfficePdfTableCellField [-FontSize <Double>] [-Height <Double>] -Name <String> [-Value <String>] [-Width <Double>] [<CommonParameters>]
#
Parameter set: Text

Parameters

FontSize Double optionalposition: namedpipeline: False
Field font size in PDF points.
Height Double optionalposition: namedpipeline: False
Rendered field height in PDF points.
Name String requiredposition: 0pipeline: False
Unique AcroForm field name.
Value String optionalposition: 1pipeline: False
Initial field value.
Width Double optionalposition: namedpipeline: False
Rendered field width in PDF points.

Outputs

OfficeIMO.Pdf.PdfTableCellFormField

New-OfficePdfTableCellField [-FontSize <Double>] [-Height <Double>] [-ListBox] -Name <String> -Option <String[]> [-Value <String>] [-Width <Double>] [<CommonParameters>]
#
Parameter set: Choice

Parameters

FontSize Double optionalposition: namedpipeline: False
Field font size in PDF points.
Height Double optionalposition: namedpipeline: False
Rendered field height in PDF points.
ListBox SwitchParameter optionalposition: namedpipeline: False
Render a choice field as a list box instead of a combo box.
Name String requiredposition: 0pipeline: False
Unique AcroForm field name.
Option String[] requiredposition: namedpipeline: False
Available values for a choice field.
Value String optionalposition: 1pipeline: False
Initial field value.
Width Double optionalposition: namedpipeline: False
Rendered field width in PDF points.

Outputs

OfficeIMO.Pdf.PdfTableCellFormField