Cmdlet
Set-OfficeWordTableCell
Updates native Word cell text, physical geometry and layout flags.
Syntax
Set-OfficeWordTableCell
[-BackgroundColor <OfficeColor>]
[-Cell] <WordTableCell>
[-CopyParagraphs]
[-FitText]
[-MarginBottom <OfficeLength>]
[-MarginLeft <OfficeLength>]
[-MarginRight <OfficeLength>]
[-MarginTop <OfficeLength>]
[-MergeDown <Int32>]
[-MergeRight <Int32>]
[-NoWrap]
[-PassThru]
[-ShadingPattern <WordShadingPattern>]
[-SplitHorizontal <Int32>]
[-SplitVertical <Int32>]
[-Text <String>]
[-TextDirection <WordTextDirection>]
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
DefaultSet-OfficeWordTableCell
[-BackgroundColor <OfficeColor>]
[-Cell] <WordTableCell>
[-CopyParagraphs]
[-FitText]
[-MarginBottom <OfficeLength>]
[-MarginLeft <OfficeLength>]
[-MarginRight <OfficeLength>]
[-MarginTop <OfficeLength>]
[-MergeDown <Int32>]
[-MergeRight <Int32>]
[-NoWrap]
[-PassThru]
[-ShadingPattern <WordShadingPattern>]
[-SplitHorizontal <Int32>]
[-SplitVertical <Int32>]
[-Text <String>]
[-TextDirection <WordTextDirection>]
-WidthPercent <Double>
[<CommonParameters>]#Parameter set:
WidthPercentExamples
Example 1
Set-OfficeWordTableCell -Cell 'Value'Example 2
Set-OfficeWordTableCell -Cell 'Value' -WidthPercent 1Parameters
- -BackgroundColor OfficeColor
- BackgroundColor for the native cell.
- -Cell WordTableCell
- Cell for the native cell.
- -CopyParagraphs SwitchParameter
- CopyParagraphs for the native cell.
- -FitText SwitchParameter
- FitText for the native cell.
- -MarginBottom OfficeLength
- MarginBottom for the native cell.
- -MarginLeft OfficeLength
- MarginLeft for the native cell.
- -MarginRight OfficeLength
- MarginRight for the native cell.
- -MarginTop OfficeLength
- MarginTop for the native cell.
- -MergeDown Int32
- MergeDown for the native cell.
- -MergeRight Int32
- MergeRight for the native cell.
- -NoWrap SwitchParameter
- NoWrap for the native cell.
- -PassThru SwitchParameter
- PassThru for the native cell.
- -ShadingPattern WordShadingPattern
- ShadingPattern for the native cell.
- Possible values:
Nil,Clear,Solid,HorizontalStripe,VerticalStripe,ReverseDiagonalStripe,DiagonalStripe,HorizontalCross,DiagonalCross,ThinHorizontalStripe,ThinVerticalStripe,ThinReverseDiagonalStripe,ThinDiagonalStripe,ThinHorizontalCross,ThinDiagonalCross,Percent5,Percent10,Percent12,Percent15,Percent20,Percent25,Percent30,Percent35,Percent37,Percent40,Percent45,Percent50,Percent55,Percent60,Percent62,Percent65,Percent70,Percent75,Percent80,Percent85,Percent87,Percent90,Percent95 - -SplitHorizontal Int32
- SplitHorizontal for the native cell.
- -SplitVertical Int32
- SplitVertical for the native cell.
- -Text String
- Text for the native cell.
- -TextDirection WordTextDirection
- TextDirection for the native cell.
- Possible values:
LeftToRightTopToBottom,LeftToRightTopToBottom2010,TopToBottomRightToLeft,TopToBottomRightToLeft2010,BottomToTopLeftToRight,BottomToTopLeftToRight2010,LeftToRightTopToBottomRotated,LeftToRightTopToBottomRotated2010,TopToBottomRightToLeftRotated,TopToBottomRightToLeftRotated2010,TopToBottomLeftToRightRotated,TopToBottomLeftToRightRotated2010 - -Width OfficeLength
- Width for the native cell.
- -WidthPercent Double
- WidthPercent for the native cell.
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.