Command
EmailLayoutColumn
Defines the layout structure for a column in an email content.
Syntax
EmailLayoutColumn
[[-Alignment] <String>]
[[-BorderBottomColor] <String>]
[[-BorderBottomStyle] <Object>]
[[-BorderBottomWidthSize] <String>]
[[-BorderLeftColor] <String>]
[[-BorderLeftStyle] <Object>]
[[-BorderLeftWidthSize] <String>]
[[-BorderRightColor] <String>]
[[-BorderRightStyle] <Object>]
[[-BorderRightWidthSize] <String>]
[[-BorderTopColor] <String>]
[[-BorderTopStyle] <Object>]
[[-BorderTopWidthSize] <String>]
[[-ColumnLayout] <ScriptBlock>]
[[-Padding] <String>]
[[-PaddingBottom] <String>]
[[-PaddingLeft] <String>]
[[-PaddingRight] <String>]
[[-PaddingTop] <String>]
[[-Width] <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
This function defines the layout structure for a column in an email content using specified parameters. It allows customization of column layout properties such as width, alignment, padding, and borders.
Examples
Example 1
EmailLayoutColumn -Alignment 'Value'Parameters
- -Alignment String
- Specifies the alignment of the content within the column. Valid values are 'left', 'center', 'right', or 'justify'.
- -BorderBottomColor String
- Specifies the color of the bottom border.
- -BorderBottomStyle Object
- Specifies the style of the bottom border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - -BorderBottomWidthSize String
- Specifies the width of the bottom border.
- -BorderLeftColor String
- Specifies the color of the left border.
- -BorderLeftStyle Object
- Specifies the style of the left border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - -BorderLeftWidthSize String
- Specifies the width of the left border.
- -BorderRightColor String
- Specifies the color of the right border.
- -BorderRightStyle Object
- Specifies the style of the right border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - -BorderRightWidthSize String
- Specifies the width of the right border.
- -BorderTopColor String
- Specifies the color of the top border.
- -BorderTopStyle Object
- Specifies the style of the top border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - -BorderTopWidthSize String
- Specifies the width of the top border.
- -ColumnLayout ScriptBlock
- Specifies the ScriptBlock containing the content of the column.
- -Padding String
- Specifies the padding for all sides of the column.
- -PaddingBottom String
- Specifies the padding for the bottom side of the column.
- -PaddingLeft String
- Specifies the padding for the left side of the column.
- -PaddingRight String
- Specifies the padding for the right side of the column.
- -PaddingTop String
- Specifies the padding for the top side of the column.
- -Width String
- Specifies the width of the column.
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.