Cmdlet
New-OfficePdfTableCellField
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>]#Parameter set:
TextNew-OfficePdfTableCellField
[-FontSize <Double>]
[-Height <Double>]
[-ListBox]
[-Name] <String>
-Option <String[]>
[[-Value] <String>]
[-Width <Double>]
[<CommonParameters>]#Parameter set:
ChoiceExamples
Create a reviewer choice field for a typed PDF table cell.
$reviewer = New-OfficePdfTableCellField -Name Reviewer -Option 'Unassigned', 'Alice', 'Bob' -Value 'Unassigned'
$cell = New-OfficePdfTableCell -Text 'Reviewer' -FormField $reviewerThe choice field is positioned by the OfficeIMO PDF table renderer.
Parameters
- -FontSize Double
- Field font size in PDF points.
- -Height Double
- Rendered field height in PDF points.
- -Name String
- Unique AcroForm field name.
- -Value String
- Initial field value.
- -Width Double
- Rendered field width in PDF points.
- -ListBox SwitchParameter
- Render a choice field as a list box instead of a combo box.
- -Option String[]
- 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.