Cmdlet
New-OfficePdfTableCell
Creates a native PDF cell containing text, images or form fields.
Syntax
New-OfficePdfTableCell
[-Alignment <OfficeAlignment>]
[-BackgroundColor <OfficeColor>]
[-Bold]
[-Bookmark <String>]
[-Color <OfficeColor>]
[-ColumnSpan <Int32>]
[-Italic]
[-Link <String>]
[-LinkBookmark <String>]
[-LinkContents <String>]
[-NoWrap]
[-RowSpan <Int32>]
[-Size <OfficeLength>]
[-Strikethrough]
[[-Text] <String>]
[-Underline <OfficeTextDecorationStyle>]
[-VerticalAlignment <Top| Center| Bottom>]
[<CommonParameters>]#Parameter set:
TextNew-OfficePdfTableCell
[-Alignment <OfficeAlignment>]
[-BackgroundColor <OfficeColor>]
[-Bookmark <String>]
[-Color <OfficeColor>]
[-ColumnSpan <Int32>]
[-Content] <ScriptBlock>
[-NoWrap]
[-RowSpan <Int32>]
[-Size <OfficeLength>]
[-VerticalAlignment <Top| Center| Bottom>]
[<CommonParameters>]#Parameter set:
ContentExamples
Example 1
New-OfficePdfTableCell -Alignment 'Value'Example 2
New-OfficePdfTableCell -Content { }Parameters
- -Alignment OfficeAlignment
- Alignment for this content.
- Possible values:
Left,Center,Right,Justify,Start,End - -BackgroundColor OfficeColor
- BackgroundColor for this content.
- -Bold SwitchParameter
- Bold for this content.
- -Bookmark String
- Bookmark for this content.
- -Color OfficeColor
- Color for this content.
- -ColumnSpan Int32
- ColumnSpan for this content.
- -Italic SwitchParameter
- Italic for this content.
- -Link String
- Link for this content.
- -LinkBookmark String
- LinkBookmark for this content.
- -LinkContents String
- LinkContents for this content.
- -NoWrap SwitchParameter
- NoWrap for this content.
- -RowSpan Int32
- RowSpan for this content.
- -Size OfficeLength
- Size for this content.
- -Strikethrough SwitchParameter
- Strikethrough for this content.
- -Text String
- Text for this content.
- -Underline OfficeTextDecorationStyle
- Underline for this content.
- Possible values:
Single,Double,Dotted,Dashed,Wavy,Words - -VerticalAlignment OfficeTextVerticalAlignment
- VerticalAlignment for this content.
- Possible values:
Top,Center,Bottom - -Content ScriptBlock
- Content for this content.
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.
Outputs
PSWriteOffice.Services.Table.OfficeTableCellSpec: Describes a logical table cell that can be rendered by multiple Office table surfaces.