API Reference
Function
EmailLayoutRow
Defines the layout structure for a row in an email content.
Remarks
This function defines the layout structure for a row in an email content using a ScriptBlock. It generates an HTML table row layout for the email content.
Examples
EXAMPLE 1
$RowLayout = {
'Column 1 content'
'Column 2 content'
}
$Row = EmailLayoutRow -RowLayout $RowLayout -Height '50px' -BorderTopStyle 'solid' -BorderTopColor 'black' -BorderTopWidthSize '1px' -BorderBottomStyle 'dotted' -BorderBottomColor 'gray' -BorderBottomWidthSize '2px' -BorderLeftStyle 'dashed' -BorderLeftColor 'blue' -BorderLeftWidthSize '1px' -BorderRightStyle 'dotted' -BorderRightColor 'green' -BorderRightWidthSize '1px'
Generates an HTML table row layout with specified content and border styles.
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
EmailLayoutRow [-BorderBottomColor <String>] [-BorderBottomStyle <hidden>] [-BorderBottomWidthSize <String>] [-BorderLeftColor <String>] [-BorderLeftStyle <hidden>] [-BorderLeftWidthSize <String>] [-BorderRightColor <String>] [-BorderRightStyle <hidden>] [-BorderRightWidthSize <String>] [-BorderTopColor <String>] [-BorderTopStyle <hidden>] [-BorderTopWidthSize <String>] [-Height <String>] [-RowLayout <ScriptBlock>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- 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.
- Height String
- Specifies the height of the row.
- RowLayout ScriptBlock
- Specifies the ScriptBlock containing the content of the row.